]> git.baikalelectronics.ru Git - kernel.git/commit
block: Define zoned block device operations
authorShaun Tancheff <shaun.tancheff@seagate.com>
Tue, 18 Oct 2016 06:40:32 +0000 (15:40 +0900)
committerJens Axboe <axboe@fb.com>
Tue, 18 Oct 2016 16:02:05 +0000 (10:02 -0600)
commitc215997ca51e92458484944b62d1b5eed65549b8
tree40b59abcd6c952af8d13fdd11d9e13254a9915f7
parentd30e5f8e8db4747c507490e214952d26c4702e66
block: Define zoned block device operations

Define REQ_OP_ZONE_REPORT and REQ_OP_ZONE_RESET for handling zones of
host-managed and host-aware zoned block devices. With with these two
new operations, the total number of operations defined reaches 8 and
still fits with the 3 bits definition of REQ_OP_BITS.

Signed-off-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Damien Le Moal <damien.lemoal@hgst.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
include/linux/blk_types.h