diff options
author | Joe Thornber <ejt@redhat.com> | 2017-05-11 09:07:16 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-05-14 21:54:33 -0400 |
commit | 49b7f768900f4084a65c3689d955b2fceac39e53 (patch) | |
tree | cfd9685c74734879c00ab2861498e64de35bcd5e /drivers/fpga/xilinx-spi.c | |
parent | 701e03e4e180f0cd97d4139a32e2b2d879d12da2 (diff) |
dm cache: simplify the IDLE vs BUSY state calculation
Drop the MODERATE state since it wasn't buying us much.
Also, in check_migrations(), prepare for the next commit ("dm cache
policy smq: don't do any writebacks unless IDLE") by deferring to the
policy to make the final decision on whether writebacks can be
serviced.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions