Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information