diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-07-16 21:26:10 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-07-16 22:32:07 -0400 |
commit | e782eff591bca2d96bac30ab5d1cfa4ccd3b0f86 (patch) | |
tree | 5e21539eba3903ddfee00729e38d5a006f2f2005 /drivers/md/dm-switch.c | |
parent | 386cb7cdeeef97e0bf082a8d6bbfc07a2ccce07b (diff) |
dm cache: avoid preallocation if no work in writeback_some_dirty_blocks()
Refactor writeback_some_dirty_blocks() to avoid prealloc_data_structs()
if the policy doesn't have any dirty blocks ready for writeback.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-switch.c')
0 files changed, 0 insertions, 0 deletions