]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
NFS: blocklayout PipeFS notifier introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 10 Jan 2012 13:04:32 +0000 (17:04 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 31 Jan 2012 23:20:27 +0000 (18:20 -0500)
commit627f30668fac12f5bd555a2cc22af2323762fe8d
treeaa7b87018cff8bbfd4d7dfb47fc8d1f4e264ee61
parent9e2e74dba6ddce94da187369b50a27536147d5df
NFS: blocklayout PipeFS notifier introduced

This patch subscribes blocklayout pipes to RPC pipefs notifications. Notifier
is registering on blocklayout module load. This notifier callback is
responsible for creation/destruction of PipeFS blocklayout pipe dentry.
Note that no locking required in notifier callback because PipeFS superblock
pointer is passed as an argument from it's creation or destruction routine and
thus we can be sure about it's validity.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/blocklayout/blocklayout.c