linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 v2] Preallocate flush bio
@ 2017-06-16 14:04 David Sterba
  2017-06-16 14:04 ` [PATCH 1/3 v2] btrfs: preallocate device " David Sterba
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Sterba @ 2017-06-16 14:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: anand.jain, David Sterba

This patchset follows the updates in the write_dev_flush function. The flush
bio can be preallocated at the device creation time, so we avoid repeated
alloc/free.

v2:
- merge 'flush_bio_sent' from 4 to 1 and dropped patch 4
- dropped sysfs tunable (patch 5)
- fix typo in patch 1 changelog

David Sterba (3):
  btrfs: preallocate device flush bio
  btrfs: account as waiting for IO, while waiting fot the flush bio
    completion
  btrfs: move dev stats accounting out of wait_dev_flush

 fs/btrfs/disk-io.c | 38 +++++++++++---------------------------
 fs/btrfs/volumes.c | 12 ++++++++++++
 fs/btrfs/volumes.h |  1 +
 3 files changed, 24 insertions(+), 27 deletions(-)

-- 
2.13.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-17 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16 14:04 [PATCH 0/3 v2] Preallocate flush bio David Sterba
2017-06-16 14:04 ` [PATCH 1/3 v2] btrfs: preallocate device " David Sterba
2017-06-16 14:04 ` [PATCH 2/3 v2] btrfs: account as waiting for IO, while waiting fot the flush bio completion David Sterba
2017-06-16 14:04 ` [PATCH 3/3 v2] btrfs: move dev stats accounting out of wait_dev_flush David Sterba
2017-06-17 13:53   ` Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).