public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 195607] New: Megaraid_sas raidcard hotswap wouldn't work if hold the fd of block devcie in user space
@ 2017-04-28  8:29 bugzilla-daemon
  0 siblings, 0 replies; only message in thread
From: bugzilla-daemon @ 2017-04-28  8:29 UTC (permalink / raw)
  To: linux-scsi

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-28  8:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-28  8:29 [Bug 195607] New: Megaraid_sas raidcard hotswap wouldn't work if hold the fd of block devcie in user space bugzilla-daemon

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