]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: fix umount of pnfs filesystems
authorWeston Andros Adamson <dros@netapp.com>
Wed, 1 Jun 2011 01:46:50 +0000 (21:46 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Jun 2011 15:23:02 +0000 (11:23 -0400)
commit06888b3d22917b22ee044d1357b37e96fdce6b5a
tree61ac70f49e793494dee1196dae55ac0c19036410
parentcb59dd2107c8639155c14fda114dcad10b44e8ea
NFS: fix umount of pnfs filesystems

Unmounting a pnfs filesystem hangs using filelayout and possibly others.
This fixes the use of the rcu protected node by making use of a new 'tmpnode'
for the temporary purge list. Also, the spinlock shouldn't be held when calling
synchronize_rcu().

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c