]> granicus.if.org Git - zfs/commit
Linux 2.6.27 compat, blk_queue_stackable()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Mar 2011 16:26:38 +0000 (09:26 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Mar 2011 19:15:54 +0000 (12:15 -0700)
commit3517f0b7e928e1a8e7634828fb92d194ea35004d
tree61a0804339678a89475d742215e54a4b258deedb
parent1073d746d6421eb5faf8a3cf8534d82a2beb0512
Linux 2.6.27 compat, blk_queue_stackable()

The blk_queue_stackable() queue flag was added in 2.6.27 to handle dm
stacking drivers.  Prior to this request stacking drivers were detected
by checking (q->request_fn == NULL), for earlier kernels we revert to
this legacy behavior.
include/linux/blkdev_compat.h