Re: [patch] latency problem in md driver

2006-12-26 Thread Lars Ellenberg
/ 2006-12-23 07:40:18 +1100 \ Neil Brown: > On Friday December 22, [EMAIL PROTECTED] wrote: > > > > md raidX make_request functions strip off the BIO_RW_SYNC flag, > > this introducing additional latency. > > > > below is a suggested patch for the raid1.c . > > other suggested solutions would be

Re: [patch] latency problem in md driver

2006-12-22 Thread Neil Brown
On Friday December 22, [EMAIL PROTECTED] wrote: > > md raidX make_request functions strip off the BIO_RW_SYNC flag, > this introducing additional latency. > > below is a suggested patch for the raid1.c . > other suggested solutions would be to let the bio_clone do its work, > and not reassign the

Re: [patch] latency problem in md driver

2006-12-22 Thread Lars Ellenberg
/ 2006-12-22 16:40:17 +0100 \ Lars Ellenberg: > the issue at hand is: > because md does special case the barrier bit, it strips off everything > else by re-assigning only the io direction and the barrier bit. > > ==> I'd like it to also pass at least the sync bit. some additional info maybe rega

Re: [patch] latency problem in md driver

2006-12-22 Thread Ric Wheeler
Jeff Garzik wrote: Lars Ellenberg wrote: md raidX make_request functions strip off the BIO_RW_SYNC flag, this introducing additional latency. below is a suggested patch for the raid1.c . other suggested solutions would be to let the bio_clone do its work, and not reassign thereby stripping off

Re: [patch] latency problem in md driver

2006-12-22 Thread Lars Ellenberg
/ 2006-12-22 10:19:53 -0500 \ Jeff Garzik: > Lars Ellenberg wrote: > >md raidX make_request functions strip off the BIO_RW_SYNC flag, > >this introducing additional latency. > >below is a suggested patch for the raid1.c . > >other suggested solutions would be to let the bio_clone do its work, > >an

Re: [patch] latency problem in md driver

2006-12-22 Thread Jeff Garzik
Lars Ellenberg wrote: md raidX make_request functions strip off the BIO_RW_SYNC flag, this introducing additional latency. below is a suggested patch for the raid1.c . other suggested solutions would be to let the bio_clone do its work, and not reassign thereby stripping off all flags. at most s

[patch] latency problem in md driver

2006-12-22 Thread Lars Ellenberg
md raidX make_request functions strip off the BIO_RW_SYNC flag, this introducing additional latency. below is a suggested patch for the raid1.c . other suggested solutions would be to let the bio_clone do its work, and not reassign thereby stripping off all flags. at most strip off known unwanted