Thread (3 messages) 3 messages, 2 authors, 2016-07-21

Re: [PATCH linux-4.7-rc7] blk_stack_limits() setting discard_granularity

From: Jens Axboe <axboe@kernel.dk>
Date: 2016-07-21 18:56:04

On 07/21/2016 12:09 PM, Florian-Ewald M�ller wrote:
blk_stack_limits() can set discard_granularity bigger than
max_discard_sectors (in bytes).
This makes blk_bio_discard_split() non-functional and can lead to data
corruption.
Let's get rid of the unlikely(), this isn't a hot path.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help