From: Trond Myklebust Date: Fri, 21 Sep 2012 18:48:04 +0000 (-0400) Subject: NFSv4.1: Get rid of the NFS_LAYOUT_DESTROYED state X-Git-Tag: v3.7-rc1~58^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8006bfba36d42b6976ed92979f51e5f9bef2625c;p=pandora-kernel.git NFSv4.1: Get rid of the NFS_LAYOUT_DESTROYED state We already have a mechanism for blocking LAYOUTGET by means of the plh_block_lgets counter. The only "service" that NFS_LAYOUT_DESTROYED provides at this point is to block layoutget once the layout segment list is empty, which basically means that you have to wait until the pnfs_layout_hdr is destroyed before you can do pNFS on that file again. This patch enables the reuse of the pnfs_layout_hdr if the layout segment list is empty. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed