* bdev manipulation at block layer level
@ 2001-07-25 9:17 Satish Kumar
2001-07-25 9:50 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Satish Kumar @ 2001-07-25 9:17 UTC (permalink / raw)
To: linux-kernel; +Cc: m_satish
Hi,
I have a host PC connected to a disk array with
alternate paths to an end scsi disk.
I attempted load balancing across paths by changing
the b_dev & b_rdev ib the bufer_head list in
ll_rw_block function of ll_rw_blk.c (block layer), and
was successful in load balancing with data integrity,
on linux 2.2.16.
However, when I try the same stunt with a linux 2.4 (
&2.4.2) kernel, I am seeing corruption occasionally.
Can anyone let me know if I am missing anything ?
Thanks !
regards,
Satish.
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bdev manipulation at block layer level
2001-07-25 9:17 bdev manipulation at block layer level Satish Kumar
@ 2001-07-25 9:50 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2001-07-25 9:50 UTC (permalink / raw)
To: Satish Kumar; +Cc: linux-kernel
On Wed, Jul 25 2001, Satish Kumar wrote:
> Hi,
>
> I have a host PC connected to a disk array with
> alternate paths to an end scsi disk.
> I attempted load balancing across paths by changing
> the b_dev & b_rdev ib the bufer_head list in
> ll_rw_block function of ll_rw_blk.c (block layer), and
> was successful in load balancing with data integrity,
> on linux 2.2.16.
> However, when I try the same stunt with a linux 2.4 (
> &2.4.2) kernel, I am seeing corruption occasionally.
> Can anyone let me know if I am missing anything ?
You must not change b_dev, that will screw the cache! Just change b_rdev
to redirect the I/O and it should work.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-25 10:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-25 9:17 bdev manipulation at block layer level Satish Kumar
2001-07-25 9:50 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox