Re: RAID/block regression starting from 2.6.32, bisected

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Neil Brown
Date: Sunday, August 1, 2010 - 5:42 pm

On Fri, 30 Jul 2010 12:29:30 +0200
Tejun Heo <tj@kernel.org> wrote:


The problem is that md/raid5 tests bio->bi_rw against RWA_MASK, which used to
align with BIO_RW_AHEAD, and now doesn't.
However the definition of bio_rw() in fs.h seems to justify that RWA_MASK
should align with BIO_RW_AHEAD, as does the definition of READA.

Given the current definitions, any WRITE request with BIO_RW_FAILFAST_DEV
set is going to confused a number of drives which test
     bio_rw(bio) == WRITE

I guess RWA_MASK needs to be changed to (1<<BIO_RW_AHEAD), and READA need to
be change to that value too.

Can I leave that to you Tejun?

Thanks,
NeilBrown
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RAID/block regression starting from 2.6.32, bisected, Vladislav Bolkhovitin, (Wed Jul 28, 11:16 am)
Re: RAID/block regression starting from 2.6.32, bisected, Neil Brown, (Sun Aug 1, 5:42 pm)
[PATCH] coda: rename REQ_* to CODA_REQ_*, Tejun Heo, (Tue Aug 3, 9:02 am)
Re: [PATCH] coda: rename REQ_* to CODA_REQ_*, Jan Harkes, (Tue Aug 3, 9:11 am)
Re: [PATCH] coda: rename REQ_* to CODA_REQ_*, Jens Axboe, (Tue Aug 3, 10:31 am)
Re: [PATCH RESEND 1/2 block#for-linus] bio, fs: update REA ..., Vladislav Bolkhovitin, (Thu Aug 5, 11:57 am)
Re: [dm-devel] [PATCH RESEND 1/2 block#for-linus] bio, fs: ..., Christoph Hellwig, (Thu Aug 19, 1:38 am)