summaryrefslogtreecommitdiff
path: root/drivers/md/dm-switch.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-07-16 21:26:10 -0400
committerMike Snitzer <snitzer@redhat.com>2015-07-16 22:32:07 -0400
commite782eff591bca2d96bac30ab5d1cfa4ccd3b0f86 (patch)
tree5e21539eba3903ddfee00729e38d5a006f2f2005 /drivers/md/dm-switch.c
parent386cb7cdeeef97e0bf082a8d6bbfc07a2ccce07b (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