]> git.baikalelectronics.ru Git - kernel.git/commit
zram: implement REQ_OP_WRITE_ZEROES
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:21:14 +0000 (19:21 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 8 Apr 2017 17:25:38 +0000 (11:25 -0600)
commitb81c61bc4f201fb0592dc273e00321a3537d18d1
treeb1f8efd747365b8155856a756c38488a56647bea
parent9e18be183e8bf760229c2268d7af884ac56c91f3
zram: implement REQ_OP_WRITE_ZEROES

Just the same as discard if the block size equals the system page size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/zram/zram_drv.c