linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pNFS: disable unloading a layout driver when mounted
@ 2012-06-07 19:06 Idan Kedar
  2012-06-07 19:06 ` [PATCH 1/2] pnfs-obj: disable unloading the module " Idan Kedar
  2012-06-07 19:06 ` [PATCH 2/2] pnfsblock: " Idan Kedar
  0 siblings, 2 replies; 4+ messages in thread
From: Idan Kedar @ 2012-06-07 19:06 UTC (permalink / raw)
  To: linux-nfs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-07 21:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-07 19:06 [PATCH 0/2] pNFS: disable unloading a layout driver when mounted Idan Kedar
2012-06-07 19:06 ` [PATCH 1/2] pnfs-obj: disable unloading the module " Idan Kedar
2012-06-07 21:09   ` Boaz Harrosh
2012-06-07 19:06 ` [PATCH 2/2] pnfsblock: " Idan Kedar

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).