Re: [PATCH] brd: Refuse improperly aligned discard requests

From: Jens Axboe
Date: Thu Nov 05 2015 - 15:11:56 EST


On 11/04/2015 09:13 AM, Jan Kara wrote:
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.

Applied, thanks Jan.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/