diff options
author | Chao Yu <[email protected]> | 2018-04-04 17:35:13 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2018-05-31 11:31:45 -0700 |
commit | 47cca3d62af20e1343cbd0a08b1f45e83892d82b (patch) | |
tree | 1157f1c1146086effe880de333473d1f189f5b5f /lib/memory-notifier-error-inject.c | |
parent | 8045249829c9db0e664b3fa2f9c9b004089a6156 (diff) |
f2fs: remove redundant block plug
For buffered IO, we don't need to use block plug to cache bio,
for direct IO, generic f2fs_direct_IO has already added block
plug, so let's remove redundant one in .write_iter.
As Yunlei described in his patch:
-f2fs_file_write_iter
-blk_start_plug
-__generic_file_write_iter
...
-do_blockdev_direct_IO
-blk_start_plug
...
-blk_finish_plug
...
-blk_finish_plug
which may conduct performance decrease in our platform
Signed-off-by: Yunlei He <[email protected]>
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions