1. 14 Jan, 2011 3 commits
    • J. Bruce Fields's avatar
      nfsd4: break lease on nfsd setattr · 6a76bebe
      J. Bruce Fields authored
      Leases (delegations) should really be broken on any metadata change, not
      just on size change.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      6a76bebe
    • J. Bruce Fields's avatar
      nfsd: don't support msnfs export option · 9ce137ee
      J. Bruce Fields authored
      We've long had these pointless #ifdef MSNFS's sprinkled throughout the
      code--pointless because MSNFS is always defined (and we give no config
      option to make that easy to change).  So we could just remove the
      ifdef's and compile the resulting code unconditionally.
      
      But as long as we're there: why not just rip out this code entirely?
      The only purpose is to implement the "msnfs" export option which turns
      on Windows-like behavior in some cases, and:
      
      	- the export option isn't documented anywhere;
      	- the userland utilities (which would need to be able to parse
      	  "msnfs" in an export file) don't support it;
      	- I don't know how to maintain this, as I don't know what the
      	  proper behavior is; and
      	- google shows no evidence that anyone has ever used this.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      9ce137ee
    • J. Bruce Fields's avatar
      nfsd4: initialize cb_per_client · 9ee1ba54
      J. Bruce Fields authored
      Otherwise a callback that is aborted before it runs will result in a
      list_del on an uninitialized list head.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      9ee1ba54
  2. 11 Jan, 2011 17 commits
  3. 05 Jan, 2011 2 commits
    • Linus Torvalds's avatar
      Linux 2.6.37 · 3c0eee3f
      Linus Torvalds authored
      3c0eee3f
    • Takuma Umeya's avatar
      nfs4: set source address when callback is generated · 6f3d772f
      Takuma Umeya authored
      when callback is generated in NFSv4 server, it doesn't set the source
      address. When an alias IP is utilized on NFSv4 server and suppose the
      client is accessing via that alias IP (e.g. eth0:0), the client invokes
      the callback to the IP address that is set on the original device (e.g.
      eth0). This behavior results in timeout of xprt.
      The patch sets the IP address that the client should invoke callback to.
      Signed-off-by: default avatarTakuma Umeya <tumeya@redhat.com>
      [bfields@redhat.com: Simplify gen_callback arguments, use helper function]
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      6f3d772f
  4. 04 Jan, 2011 18 commits