From: Douglas Gilbert <dougg@torque.net>
To: linux-scsi@vger.kernel.org
Cc: ballen@gravity.phys.uwm.edu
Subject: [2.6.0-test4] blocking access to mounted scsi devices
Date: Mon, 25 Aug 2003 17:04:53 +1000 [thread overview]
Message-ID: <3F49B515.6010107@torque.net> (raw)
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
next reply other threads:[~2003-08-25 7:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-25 7:04 Douglas Gilbert [this message]
2003-08-25 12:08 ` [2.6.0-test4] blocking access to mounted scsi devices 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F49B515.6010107@torque.net \
--to=dougg@torque.net \
--cc=ballen@gravity.phys.uwm.edu \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox