mbox series

[0/4] btrfs: optimize disks flush code

Message ID cover.1679910087.git.anand.jain@oracle.com (mailing list archive)
Headers show
Series btrfs: optimize disks flush code | expand

Message

Anand Jain March 27, 2023, 9:53 a.m. UTC
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(-)