summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-delay.c
diff options
context:
space:
mode:
authorJohn Pittman <jpittman@redhat.com>2018-06-21 23:35:33 +0200
committerMike Snitzer <snitzer@redhat.com>2018-07-27 21:24:18 +0200
commitaf9313c32c0fa2a0ac3b113669273833d60cc9de (patch)
tree4adfc242b5c53974fe4b6a07fa50eaab1a89da03 /drivers/md/dm-delay.c
parentdm thin: update stale "Status" Documentation (diff)
downloadlinux-af9313c32c0fa2a0ac3b113669273833d60cc9de.tar.xz
linux-af9313c32c0fa2a0ac3b113669273833d60cc9de.zip
dm cache: only allow a single io_mode cache feature to be requested
More than one io_mode feature can be requested when creating a dm cache device (as is: last one wins). The io_mode selections are incompatible with one another, we should force them to be selected exclusively. Add a counter to check for more than one io_mode selection. Fixes: 629d0a8a1a10 ("dm cache metadata: add "metadata2" feature") Signed-off-by: John Pittman <jpittman@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-delay.c')
0 files changed, 0 insertions, 0 deletions