diff options
author | Huaisheng Ye <[email protected]> | 2019-09-02 18:04:50 +0800 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2019-09-05 13:22:05 -0400 |
commit | 6d1959138c8bdaf69f1116c86c77e6733db6ab34 (patch) | |
tree | 815b3f36d5696680afc258714a210b5966594bc6 /lib/mpi/mpi-cmp.c | |
parent | fb16c799b8dca78b847ab183e8aa70e34cbf21bc (diff) |
dm writecache: skip writecache_wait for pmem mode
The array bio_in_progress[2] only have chance to be increased and
decreased with ssd mode. For pmem mode, they are not involved at all.
So skip writecache_wait_for_ios in writecache_flush for pmem.
Suggested-by: Doris Yu <[email protected]>
Signed-off-by: Huaisheng Ye <[email protected]>
Acked-by: Mikulas Patocka <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions