blk-mq: add a flags parameter to blk_mq_alloc_request
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Nov 2015 08:13:05 +0000 (09:13 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:53:59 +0000 (10:53 -0700)
commit6f3b0e8bcf3cbb87a7459b3ed018d31d918df3f8
tree78520f9313db6743cb1ba6feb805120e80113a8d
parentd7cf931dd9f18ce8ee7a0a9b7813a19fb2c8f5e9
blk-mq: add a flags parameter to blk_mq_alloc_request

We already have the reserved flag, and a nowait flag awkwardly encoded as
a gfp_t.  Add a real flags argument to make the scheme more extensible and
allow for a nicer calling convention.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-mq-tag.c
block/blk-mq.c
block/blk-mq.h
drivers/block/mtip32xx/mtip32xx.c
drivers/block/null_blk.c
drivers/nvme/host/lightnvm.c
drivers/nvme/host/pci.c
fs/block_dev.c
include/linux/blk-mq.h
include/linux/blkdev.h