Skip to content

fat (exportfs): fix NFS file handle decode

Steven J. Magnani lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fat (exportfs): drop ineffective get_parent codefs/fat/dir.c fs/fat/fat.h fs/fat/inode.c +2 more+108 -831 reply
2/2fat (exportfs): reconnect file handles to evicted inodes/dentriesfs/fat/dir.c fs/fat/fat.h fs/fat/inode.c+410 -1522 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] fat (exportfs): fix NFS file handle decode

When the system evicts inodes and dentries under memory pressure, the FAT driver is unable to map NFS file handles back to the objects they reference. In many cases this causes client operations to fail with ENOENT. This is partially due to ineffectiveness of the current FAT NFS implementation, and partially due to export_operations that have not yet been implemented for FAT. For example, the lack of a fh_to_parent method can cause file accesses to fail on shares exported with subtree_check.

This series depends on the following patches:
* fat: Fix non-atomic NFS i_pos read
* fat: Accessors for msdos_dir_entry 'start' fields
* fat: Refactor shortname parsing