Thread (11 messages) 11 messages, 4 authors, 2019-03-22

Re: [PATCH 1/2] block: bio: ensure newly added bio flags don't override BVEC_POOL_IDX

From: Johannes Thumshirn <hidden>
Date: 2019-03-21 14:23:55
Also in: linux-fsdevel

On 21/03/2019 15:21, Jens Axboe wrote:
On 3/21/19 8:15 AM, Jens Axboe wrote:
quoted
You also haven't solved the issue of now having an extra bit, 2/2 uses
the last bit which the other patch already took...
Here's one way - kill BIO_SEG_VALID. We should just use
->bi_phys_segments to tell if it's valid or not. This patch uses -1 to
signify it's not.

Totally untested...

That sounds like an idea, I'll trow some testing at it and report back.


-- 
Johannes Thumshirn                            SUSE Labs Filesystems
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help