Kernel blocks during rsync to NFS-mounted directory exported from Sun OS machine

From Linux NFS

Jump to: navigation, search



  • Kernel version:
  • bug 14053
  • Reported by: Matthew Breeze (August 25, 2009)
  • Fixed by: Trond Myklebust (August 28, 2009)


  • Fedora 10 machine and a Sun OS machine.
  • The Sun OS machine exports a ZFS filesystem (pool) to the Fedora 10 machine, which mounts it using a NFS v4 mount
    • /etc/fstab: melon:/melon1 /melon1 nfs4 rw,rsize=8192,wsize=8192,timeo=14,intr
  • Kernel panic when reading a large file (3 GB) through NFS
  • Kernel panic when rsyncing to the mounted directory
  • No ill effects on the Sun OS machine


  • Need to retransmit the entire request when xprt_transmit fails with a network error.


commit 2574cc9f4ffc6c681c9177111357efe5b76f0e36
Author: Trond Myklebust <>
Date:   Fri Aug 28 11:12:12 2009 -0400

    SUNRPC: Fix rpc_task_force_reencode
    This patch fixes the bug that was reported in
    If we're in the case where we need to force a reencode and then resend of
    the RPC request, due to xprt_transmit failing with a networking error, then
    we _must_ retransmit the entire request.
    Signed-off-by: Trond Myklebust <>
    Signed-off-by: Linus Torvalds <>
Personal tools