Skip to content

btrfs: optimize disks flush code

Anand Jain linux-btrfs oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: move last_flush_error to write_dev_flush and wait_dev_flushfs/btrfs/disk-io.c+8 -60 replies
2/4btrfs: opencode check_barrier_error()fs/btrfs/disk-io.c+7 -150 replies
3/4Btrfs: change wait_dev_flush() return type to boolfs/btrfs/disk-io.c+5 -34 replies
4/4btrfs: use test_and_clear_bit() in wait_dev_flush()fs/btrfs/disk-io.c+1 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] btrfs: optimize disks flush code

A few items were identified that could be optimized and simplified in wait_dev_flush() and wait_dev_flush().

Anand Jain (4):
btrfs: move last_flush_error to write_dev_flush and wait_dev_flush
btrfs: opencode check_barrier_error()
Btrfs: change wait_dev_flush() return type to bool
btrfs: use test_and_clear_bit() in wait_dev_flush()

 fs/btrfs/disk-io.c | 45 ++++++++++++++++++++-------------------------
 1 file changed, 20 insertions(+), 25 deletions(-)
Signature · 1 line
2.39.2