From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325Ab2JGIcI (ORCPT ); Sun, 7 Oct 2012 04:32:08 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:52096 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751672Ab2JGIcF (ORCPT ); Sun, 7 Oct 2012 04:32:05 -0400 From: Namjae Jeon To: hirofumi@mail.parknet.co.jp, akpm@linux-foundation.org Cc: bfields@fieldses.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, Namjae Jeon , Namjae Jeon Subject: [PATCH v4 0/4] fat: fix estale error on VFAT over NFS. Date: Sun, 7 Oct 2012 04:31:54 -0400 Message-Id: <1349598714-3150-1-git-send-email-linkinjeon@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Namjae Jeon (4) fat: modify nfs mount option 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