diff options
author | Huaisheng Ye <yehs1@lenovo.com> | 2019-09-02 18:04:50 +0800 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-09-05 13:22:05 -0400 |
commit | 6d1959138c8bdaf69f1116c86c77e6733db6ab34 (patch) | |
tree | 815b3f36d5696680afc258714a210b5966594bc6 /drivers/video | |
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 <tyu1@lenovo.com>
Signed-off-by: Huaisheng Ye <yehs1@lenovo.com>
Acked-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions