Re: [PATCH 12/30] blk_end_request: changing ub (take 4)

2007-12-11 Thread Pete Zaitcev
rq->errors = scsi_status; > } > - end_that_request_first(rq, uptodate, rq->hard_nr_sectors); > - end_that_request_last(rq, uptodate); > + if (__blk_end_request(rq, error, blk_rq_bytes(rq))) > + BUG(); Acked-by: Pete Zaitcev <[EMAIL PROTECTED]>

Re: [PATCH 12/30] blk_end_request: changing ub (take 4)

2007-12-13 Thread Pete Zaitcev
On Wed, 12 Dec 2007 15:38:15 -0500 (EST), Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: > On Tue, 11 Dec 2007 15:48:03 -0800, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > > > - end_that_request_first(rq, uptodate, rq->hard_nr_sectors); > > > - end_that_re

Re: [PATCH 12/30] blk_end_request: changing ub (take 4)

2007-12-14 Thread Pete Zaitcev
On Fri, 14 Dec 2007 12:04:54 -0500 (EST), Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: > I have investigated all code paths which call ub_end_rq() in ub.c, > and confirmed that ub_end_rq() is always called with the queue lock > held. (sc->lock is registered as a queue lock.) Thanks for reminding me

Re: Retry counters in sd.c

2007-08-16 Thread Pete Zaitcev
On Wed, 15 Aug 2007 11:19:43 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > And that's not even taking into account the fact that > sd_read_capcity(), together with everything else under > sd_revalidate_disk(), gets called twice in a row during device > scanning. (What's the reason for that

Re: scsi_scan problem.

2001-03-14 Thread Pete Zaitcev
> Date: Wed, 14 Mar 2001 21:28:14 -0500 > From: Doug Ledford <[EMAIL PROTECTED]> > A bug report I was charged with fixing (qla2x00 driver doesn't see all luns or > sees multiple identical luns in different scenarios) was not a bug in the > qla2x00 driver. [...] > The bug is that we were detect

Patch for SCSI CD-ROM getting wrong size

2005-07-05 Thread Pete Zaitcev
or.c */ unsigned long ms_offset;/* for reading multisession-CD's */ - unsigned needs_sector_size:1; /* needs to get sector size */ unsigned use:1; /* is this device still supportable */ unsigned xa_flag:1; /* CD has XA sector

Re: [2.6.13-rc6-latest] SCSI disk registration msgs repeat themselves

2005-08-16 Thread Pete Zaitcev
On Tue, 16 Aug 2005 21:39:33 -0700, Patrick Mansfield <[EMAIL PROTECTED]> wrote: > On Tue, Aug 16, 2005 at 11:01:30PM -0400, Chuck Ebbert wrote: > > I just added some usb-storage devices to my system and got the below. > > Why do the first four lines repeat for each device? (Not sure if > > th