From: Idan Kedar <idank@tonian.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH 0/2] pNFS: disable unloading a layout driver when mounted
Date: Thu, 7 Jun 2012 22:06:29 +0300 [thread overview]
Message-ID: <1339095991-26753-1-git-send-email-idank@tonian.com> (raw)
Layout drivers' refcount is incremented when a filesystem is mounted with
the layout type exported by the driver. Object layout and Block layout
drivers did not provide an owner, which means no refcount is incremented
and that the module can be unloaded while the file system is mounted
which, in turn, crashes in the layout driver when the NFS client attempts
to do something with the layout driver (typically coalescing).
Idan Kedar (2):
pnfs-obj: disable unloading the module when mounted
pnfsblock: disable unloading the module when mounted
fs/nfs/blocklayout/blocklayout.c | 1 +
fs/nfs/objlayout/objio_osd.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
--
1.7.6.5
next reply other threads:[~2012-06-07 19:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-07 19:06 Idan Kedar [this message]
2012-06-07 19:06 ` [PATCH 1/2] pnfs-obj: disable unloading the module when mounted Idan Kedar
2012-06-07 21:09 ` Boaz Harrosh
2012-06-07 19:06 ` [PATCH 2/2] pnfsblock: " Idan Kedar
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=1339095991-26753-1-git-send-email-idank@tonian.com \
--to=idank@tonian.com \
--cc=linux-nfs@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;
as well as URLs for NNTP newsgroup(s).