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

Re: resend: zeroout fixes

From: Jens Axboe <axboe@kernel.dk>
Date: 2016-07-20 23:36:32

On 07/19/2016 03:23 AM, Christoph Hellwig wrote:
The first one is a repost of my BLKDEV_DISCARD_ZERO with the spelling
fixes suggest from Martin, the second one just drops the -EOPNOTSUPP
special casing in blkdev_issue_write_same.

Note that the patches are against the block for-next tree, and
unfortunately we have diverged significantly from 4.7 in this area:
4.7 has the missing bio_put for the sumbmit_bio_wait callers, and
4.8 has the various req_op changes, including a new calling
convention for __blkdev_issue_zeroout.  I'm not sure how to best
sort this mess out, but I really think we need the bio_put in the
for-4.8 tree as well, and we should probably bring the changed
__blkdev_issue_discard calling convention into 4.7 as well.
Suggestion for how to best handle this?
I think we should leave 4.7 as-is. The put issue being fixed is the most 
important one, so just roll a separate 4.8 patch for that.

-- 
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