public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.0-test4] blocking access to mounted scsi devices
@ 2003-08-25  7:04 Douglas Gilbert
  2003-08-25 12:08 ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Douglas Gilbert @ 2003-08-25  7:04 UTC (permalink / raw)
  To: linux-scsi; +Cc: ballen

A recent test of smartmontools on lk 2.6.0-test4 failed
miserably on my main SCSI disk. It would seem that
attempts to use either the:
    SCSI_IOCTL_SEND_COMMAND
    SG_IO
ioctls on a mounted SCSI "block" device fail with EBUSY.
These ioctls work fine on devices that don't have mounted
file systems on then. If this is a new policy then it needs
to be reconsidered. smartmontools still works ok on ATA disks
in lk 2.6.0-test4.

Both the ioctls in question still work via the corresponding
scsi generic device. Will scsi generic devices make a
re-appearance in sysfs (as indicated by Christoph when the
relevant code in sg was removed)?

Doug Gilbert


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-08-26 16:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-25  7:04 [2.6.0-test4] blocking access to mounted scsi devices Douglas Gilbert
2003-08-25 12:08 ` Christoph Hellwig
2003-08-26 10:20   ` Douglas Gilbert
2003-08-26 14:08     ` James Bottomley
2003-08-26 14:32       ` Christoph Hellwig
2003-08-26 14:57         ` James Bottomley
2003-08-26 16:23       ` Bruce Allen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox