dm: allow bio-based table to be upgraded to bio-based with DAX support
authorToshi Kani <toshi.kani@hpe.com>
Tue, 28 Jun 2016 19:37:15 +0000 (13:37 -0600)
committerMike Snitzer <snitzer@redhat.com>
Thu, 21 Jul 2016 03:49:52 +0000 (23:49 -0400)
commitb5ab4a9ba5574430870391e93b125ada31217c4c
tree658d76b461e4d7d4e064068e82aa0550d61deb70
parentf6e629bd2379dceb547be93915314307871a7f6c
dm: allow bio-based table to be upgraded to bio-based with DAX support

Allow table type DM_TYPE_BIO_BASED to extend with DM_TYPE_DAX_BIO_BASED
since DM_TYPE_DAX_BIO_BASED supports bio-based requests.

This is needed to allow a snapshot of an LV with DAX support to be
removed.  One of the intermediate table reloads that lvm2 does switches
from DM_TYPE_BIO_BASED to DM_TYPE_DAX_BIO_BASED.  No known reason to
disallow this so...

Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-ioctl.c