Re: [PATCH scsi-misc-2.6 07/08] scsi: remove bogus {get|put}_device() calls

2005-03-29 Thread Patrick Mansfield
On Wed, Mar 23, 2005 at 06:13:26PM +0900, Tejun Heo wrote: > Hi, > > James Bottomley wrote: > >On Wed, 2005-03-23 at 11:14 +0900, Tejun Heo wrote: > > > >>So, basically, SCSI high-level object (scsi_disk) and > >>mid-level object (scsi_device) are reference counted by users, > >>not t

Re: [PATCH scsi-misc-2.6 07/08] scsi: remove bogus {get|put}_device() calls

2005-03-23 Thread Tejun Heo
Hi, James Bottomley wrote: On Wed, 2005-03-23 at 11:14 +0900, Tejun Heo wrote: So, basically, SCSI high-level object (scsi_disk) and mid-level object (scsi_device) are reference counted by users, not the requests they submit. Reference count cannot go zero with act

Re: [PATCH scsi-misc-2.6 07/08] scsi: remove bogus {get|put}_device() calls

2005-03-22 Thread James Bottomley
On Wed, 2005-03-23 at 11:14 +0900, Tejun Heo wrote: > So, basically, SCSI high-level object (scsi_disk) and > mid-level object (scsi_device) are reference counted by users, > not the requests they submit. Reference count cannot go zero > with active users and users cannot a

Re: [PATCH scsi-misc-2.6 07/08] scsi: remove bogus {get|put}_device() calls

2005-03-22 Thread Tejun Heo
07_scsi_refcnt_cleanup.patch SCSI request submission paths can be categorized like the following. * through high-level driver (sd, st, sg...) + requests (fs / pc) + ioctls + flushes (issue_flush / barrier rqs)