summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2017-11-15 16:10:28 -0700
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:13 +0100
commit343e4fc1c60971b0734de26dbbd475d433950982 (patch)
treeb900c92ed8a718f05f81779132754a0609ebce55 /fs/btrfs/disk-io.c
parent0fb08bccbce2c1900d18f7ecc01ff8b8f677ce3e (diff)
Btrfs: set plug for fsync
Setting plug can merge adjacent IOs before dispatching IOs to the disk driver. Without plug, it'd not be a problem for single disk usecases, but for multiple disks using raid profile, a large IO can be split to several IOs of stripe length, and plug can be helpful to bring them together for each disk so that we can save several disk access. Moreover, fsync issues synchronous writes, so plug can really take effect. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions