aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.h
diff options
context:
space:
mode:
authorSage Weil <[email protected]>2009-07-24 17:17:44 +0000
committerChris Mason <[email protected]>2009-07-24 17:17:44 +0000
commitebecd3d9d2adba144c15f1d35c78e0c26ead1bfd (patch)
tree605fdb3fcc3c9543d0a69987fcfd89ad3c7fb144 /fs/btrfs/async-thread.h
parentBtrfs: Avoid delayed reference update looping (diff)
downloadkernel-ebecd3d9d2adba144c15f1d35c78e0c26ead1bfd.tar.gz
kernel-ebecd3d9d2adba144c15f1d35c78e0c26ead1bfd.zip
Btrfs: make flushoncommit mount option correctly wait on ordered_extents
The commit_transaction call to wait_ordered_extents when snap_pending passes nocow_only=1 to process only NOCOW or PREALLOC extents. This isn't correct for the 'flushoncommit' mode, as it skips extents we just started IO on in start_delalloc_inodes. So, in the flushoncommit case, wait on all ordered extents. Otherwise, only pass the nocow_only flag to wait_ordered_extents if snap_pending. Signed-off-by: Sage Weil <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.h')
0 files changed, 0 insertions, 0 deletions