]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a flags argument to (__)blkdev_issue_zeroout
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:21:08 +0000 (19:21 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 8 Apr 2017 17:25:38 +0000 (11:25 -0600)
commit6cabf644efcb5524c2ed870af8719385f30f775b
tree923d051ac77e50e2871eefc7c6f7da43da3538c9
parent2d57ec9a27dbf9d9282653275f04ebb7e0696107
block: add a flags argument to (__)blkdev_issue_zeroout

Turn the existing discard flag into a new BLKDEV_ZERO_UNMAP flag with
similar semantics, but without referring to diŃ•card.

Signed-off-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-lib.c
block/ioctl.c
drivers/block/drbd/drbd_receiver.c
drivers/nvme/target/io-cmd.c
fs/block_dev.c
fs/dax.c
fs/xfs/xfs_bmap_util.c
include/linux/blkdev.h