From mboxrd@z Thu Jan 1 00:00:00 1970 From: OGAWA Hirofumi Subject: Re: [PATCH v5 0/8] fat: fix estale error on VFAT over NFS. Date: Tue, 27 Nov 2012 20:15:04 +0900 Message-ID: <87624rfgav.fsf@devron.myhome.or.jp> References: <1353504190-5766-1-git-send-email-linkinjeon@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Namjae Jeon To: Namjae Jeon Return-path: Received: from mail.parknet.co.jp ([210.171.160.6]:35458 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413Ab2K0LPL (ORCPT ); Tue, 27 Nov 2012 06:15:11 -0500 In-Reply-To: <1353504190-5766-1-git-send-email-linkinjeon@gmail.com> (Namjae Jeon's message of "Wed, 21 Nov 2012 22:23:10 +0900") Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Namjae Jeon writes: > From: Namjae Jeon > > This patch-set eliminates the client side ESTALE errors when a FAT partition > exported over NFS has its dentries evicted from the cache. > > One of the reasons for this error is lack of permanent inode numbers on FAT > which makes it difficult to construct persistent file handles. > This can be overcome by using fat_encode_fh() that include i_pos in file handle. > > Once the i_pos is available, it is only a matter of reading the directory > entries from the disk clusters to locate the matching entry and rebuild > the corresponding inode. > > We reached the conclusion support stable inode's read-only export first after > discussing with OGAWA and Bruce. > And will make it writable with some operation(unlink and rename) limitation > next time. I will review at this weekend. sorry. > Namjae Jeon (8) > fat: modify nfs mount option > fat: move fat_i_pos_read to fat.h > fat: pass superblock pointer instead of inode pointer to fat_ent_read() > fat: introduce a helper fat_get_blknr_offset() > fat: restructure export_operations > fat (exportfs): rebuild inode if ilookup() fails > fat (exportfs): rebuild directory-inode if fat_dget() fails > Documentation: update nfs option in filesystem/vfat.txt > > --- > 1.7.9.5 > -- OGAWA Hirofumi