]> git.baikalelectronics.ru Git - kernel.git/commit
brd: remove discard support
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:21:16 +0000 (19:21 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 8 Apr 2017 17:25:38 +0000 (11:25 -0600)
commit5b403db5a53eae37e18d9327186ef0319a0d6e99
treee72cfe46da5b2cbe20a91e84c311347f081d087c
parent9cd919c62b8a75a8ce8d2d205e8c511bcd22b9b7
brd: remove discard support

It's just a in-driver reimplementation of writing zeroes to the pages,
which fails if the discards aren't page aligned.

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/brd.c