* Question: DLPAR remove with mounted partitions.
@ 2013-06-23 17:26 Philip J. Kelleher
0 siblings, 0 replies; only message in thread
From: Philip J. Kelleher @ 2013-06-23 17:26 UTC (permalink / raw)
To: linux-kernel
Hello all,
I have a question regarding a DLPAR remove operations with a mounted
partition.
I am writing a block level device driver that will support DLPAR remove
operations and I was doing some testing with a partition from the adapter
still mounted while I ran a DLPAR remove.
The remove completed successfully and lspci doesn't list my device
anymore. However, I ran the 'df' command and noticed that the partition
was still listed in the output. I, then, ran an 'ls' on the mount point
for that partition and a Kernel Panic occured.
I fixed the panic by setting the queuedata member to NULL in the
request_queue object and checking the request_queue for a NULL queuedata
in the make_request function.
My main question is this: Should the Kernel allow for a successful DLPAR
remove while there are still reference counts still active on the
device? If so, is my implementation the correct way to countering the issue?
Thanks in advance.
Regards,
-Philip Kelleher
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-23 17:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-23 17:26 Question: DLPAR remove with mounted partitions Philip J. Kelleher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®