Contents

buf_flushdirtyblks

Write dirty file blocks to disk.

Declaration

void buf_flushdirtyblks(vnode_t vp, int wait, int flags, const char *msg);

Parameters

  • vp:

    The vnode whose blocks to flush.

  • wait:

    Wait for writes to complete before returning.

  • flags:

    Can pass zero, meaning "flush all dirty buffers." BUF_SKIP_NONLOCKED: Skip buffers which are not busy when we encounter them. BUF_SKIP_LOCKED: Skip buffers which are busy when we encounter them.

  • msg:

    String to pass to msleep().

Return Value

void.

See Also

Buffers