diff options
author | Huaisheng Ye <yehs1@lenovo.com> | 2020-06-12 17:55:44 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-06-17 18:25:42 +0200 |
commit | a143e172b66d992092eb6cf984f79d6989b684d6 (patch) | |
tree | 4505908291c56ec03fd1e10b3058a872b46eb52c /drivers/md/dm-ioctl.c | |
parent | dm writecache: correct uncommitted_block when discarding uncommitted entry (diff) | |
download | linux-a143e172b66d992092eb6cf984f79d6989b684d6.tar.xz linux-a143e172b66d992092eb6cf984f79d6989b684d6.zip |
dm writecache: skip writecache_wait when using pmem mode
The array bio_in_progress is only used with ssd mode. So skip
writecache_wait_for_ios in writecache_discard when pmem mode.
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/md/dm-ioctl.c')
0 files changed, 0 insertions, 0 deletions