commit | 2dbe5495763612f7c1b68fc897cd28c9e22079b8 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.com> | Wed Nov 04 17:13:39 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Wed Nov 11 09:36:56 2015 -0700 |
tree | 7b53e4691b04a65e508c3dd4ea4e3cff1d53a301 | |
parent | c5a37883f42be712a989e54d5d6c0159b0e56599 [diff] |
brd: Refuse improperly aligned discard requests Currently when improperly aligned discard request is submitted, we just silently discard more / less data which results in filesystem corruption in some cases. Refuse such misaligned requests. Signed-off-by: Jan Kara <jack@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>