diff options
author | Jianpeng Ma <majianpeng@gmail.com> | 2012-08-02 11:50:39 +0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-08-02 11:50:39 +0400 |
commit | 53362a05ae683e12a20d9ffdf58a88094a0bed9d (patch) | |
tree | ec4791a0b8277ebb75608e7d22f16d646c1d60e1 /drivers/scsi/device_handler | |
parent | c6e666345e1b79c62ba82339cc7d55a89cb73f88 (diff) | |
download | linux-53362a05ae683e12a20d9ffdf58a88094a0bed9d.tar.xz |
fs/block-dev.c:fix performance regression in O_DIRECT writes to md block devices
For regular file, write operaion used blk_plug function.But for block
file,write operation did not use blk_plug.
This patch is also for write-cache mode for block-device.
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/device_handler')
0 files changed, 0 insertions, 0 deletions