Toshi Kani 163d4baaeb block: add QUEUE_FLAG_DAX for devices to advertise their DAX support
Currently, presence of direct_access() in block_device_operations
indicates support of DAX on its block device.  Because
block_device_operations is instantiated with 'const', this DAX
capablity may not be enabled conditinally.

In preparation for supporting DAX to device-mapper devices, add
QUEUE_FLAG_DAX to request_queue flags to advertise their DAX
support.  This will allow to set the DAX capability based on how
mapped device is composed.

Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: <linux-s390@vger.kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-07-20 21:01:01 -06:00
..
2016-05-27 15:26:11 -07:00
2016-05-20 17:58:30 -07:00
2016-06-07 13:41:38 -06:00
2016-06-07 13:41:38 -06:00
2016-06-07 13:41:38 -06:00
2016-06-07 13:41:38 -06:00
2016-06-07 13:41:38 -06:00
2016-05-23 17:04:14 -07:00
2016-04-26 12:00:48 -04:00
2016-05-23 17:04:14 -07:00
2016-05-26 20:00:28 -07:00
2016-05-23 17:04:14 -07:00
2016-06-07 13:41:38 -06:00
2016-04-18 11:18:55 +02:00