diff options
author | 2019-02-25 11:07:10 -0500 | |
---|---|---|
committer | 2019-03-05 14:53:52 -0500 | |
commit | de7180ff908b2bc0342e832dbdaa9a5f1ecaa33a (patch) | |
tree | db7c3b6e894a7d5f96ab155500ff5a8275cfad66 /arch/alpha/include/uapi/asm/unistd.h | |
parent | dm writecache: fix typo in name for writeback_wq (diff) | |
download | linux-dev-de7180ff908b2bc0342e832dbdaa9a5f1ecaa33a.tar.xz linux-dev-de7180ff908b2bc0342e832dbdaa9a5f1ecaa33a.zip |
dm cache: add support for discard passdown to the origin device
DM cache now defaults to passing discards down to the origin device.
User may disable this using the "no_discard_passdown" feature when
creating the cache device.
If the cache's underlying origin device doesn't support discards then
passdown is disabled (with warning). Similarly, if the underlying
origin device's max_discard_sectors is less than a cache block discard
passdown will be disabled (this is required because sizing of the cache
internal discard bitset depends on it).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'arch/alpha/include/uapi/asm/unistd.h')
0 files changed, 0 insertions, 0 deletions