From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@kernel.org
Subject: [Bug 195607] New: Megaraid_sas raidcard hotswap wouldn't work if hold the fd of block devcie in user space
Date: Fri, 28 Apr 2017 08:29:03 +0000 [thread overview]
Message-ID: <bug-195607-11613@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=195607
Bug ID: 195607
Summary: Megaraid_sas raidcard hotswap wouldn't work if hold
the fd of block devcie in user space
Product: SCSI Drivers
Version: 2.5
Kernel Version: 3.10.0
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: scsi_drivers-other@kernel-bugs.osdl.org
Reporter: johnzzpcrystal@gmail.com
Regression: No
reproduce :
1.choose a megaraid sas series raidcard, for example:
LSI Logic / Symbios Logic MegaRAID SAS 2008 [Falcon] (rev 03)
2. configure the raid card as HBA card (all disks are jbod mode)
We assume /dev/sdb is attached to this raid card
3.run process:
fd = open("/dev/sdb", O_RDWR);
while (1) {
sleep (10);
}
4. run "udevadm monitor" watch udev message in a new shell
5.unplug disk sdb and then insert
We can see new udev message about disk's hotswap
6.redo process 5
There will be no udev message only if you reboot the server
--
You are receiving this mail because:
You are watching the assignee of the bug.
reply other threads:[~2017-04-28 8:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=bug-195607-11613@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-scsi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.