From: "Philip J. Kelleher" <pjk1939@linux.vnet.ibm.com>
To: linux-kernel@vger.kernel.org
Subject: Question: DLPAR remove with mounted partitions.
Date: Sun, 23 Jun 2013 12:26:32 -0500 [thread overview]
Message-ID: <20130623172632.GA5685@oc6784271780.ibm.com> (raw)
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
reply other threads:[~2013-06-23 17:26 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=20130623172632.GA5685@oc6784271780.ibm.com \
--to=pjk1939@linux.vnet.ibm.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®