diff options
| author | 2019-09-02 18:04:50 +0800 | |
|---|---|---|
| committer | 2019-09-05 13:22:05 -0400 | |
| commit | 6d1959138c8bdaf69f1116c86c77e6733db6ab34 (patch) | |
| tree | 815b3f36d5696680afc258714a210b5966594bc6 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | dm stats: use struct_size() helper (diff) | |
| download | linux-dev-6d1959138c8bdaf69f1116c86c77e6733db6ab34.tar.xz linux-dev-6d1959138c8bdaf69f1116c86c77e6733db6ab34.zip | |
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 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
