NFS readdir change break fully cached nfs root

From Linux NFS

Jump to: navigation, search


  • Kernel version: 2.6.37-rc1
  • Bug 23552
  • Reported by: Rafael J. Wysocki (November 22, 2010)
  • Closed by: Trond Myklebust (November 22, 2010)


  • nfsroot systems don't boot
  • infinite readdir loops
  • ls occasionally returns empty when directory is not empty


commit 8cd51a0ccd1beda4482507769887c0be9d70f8c1
Author: Trond Myklebust <>
Date:   Mon Nov 15 20:26:22 2010 -0500

    NFS: Fix a couple of regressions in readdir.
    Fix up the issue that array->eof_index needs to be able to be set
    even if array->size == 0.
    Ensure that we catch all important memory allocation error conditions
    and/or kmap() failures.
    Signed-off-by: Trond Myklebust <>
Personal tools