brd: support discard
authorNick Piggin <npiggin@suse.de>
Wed, 26 May 2010 13:41:14 +0000 (15:41 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 1 Jun 2010 09:09:20 +0000 (11:09 +0200)
commitb7c335713ea130d707c22d7f7c57a8eca75ded7e
tree302213166522d0af8bcb01417b69cd7bd445cb49
parent0e3c9a2284f5417f196e327c254d0b84c9ee8929
brd: support discard

Support discard requests in brd by zeroing or deleting the underlying backing
pages. This is simply to help with testing and documentation nature of
brd code.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/brd.c