1. 16 Sep, 2011 2 commits
    • J. Bruce Fields's avatar
      nfsd4: replace oo_confirmed by flag bit · dad1c067
      J. Bruce Fields authored
      I want at least one more bit here.  So, let's haul out the caps lock key
      and add a flags field.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      dad1c067
    • Mi Jinlong's avatar
      nfsd41: try to check reply size before operation · 58e7b33a
      Mi Jinlong authored
      For checking the size of reply before calling a operation,
      we need try to get maxsize of the operation's reply.
      
      v3: using new method as Bruce said,
      
       "we could handle operations in two different ways:
      
      	- For operations that actually change something (write, rename,
      	  open, close, ...), do it the way we're doing it now: be
      	  very careful to estimate the size of the response before even
      	  processing the operation.
      	- For operations that don't change anything (read, getattr, ...)
      	  just go ahead and do the operation.  If you realize after the
      	  fact that the response is too large, then return the error at
      	  that point.
      
        So we'd add another flag to op_flags: say, OP_MODIFIES_SOMETHING.  And for
        operations with OP_MODIFIES_SOMETHING set, we'd do the first thing.  For
        operations without it set, we'd do the second."
      Signed-off-by: default avatarMi Jinlong <mijinlong@cn.fujitsu.com>
      [bfields@redhat.com: crash, don't attempt to handle, undefined op_rsize_bop]
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      58e7b33a
  2. 14 Sep, 2011 5 commits
  3. 13 Sep, 2011 13 commits
  4. 07 Sep, 2011 2 commits
  5. 04 Sep, 2011 1 commit
  6. 03 Sep, 2011 1 commit
  7. 02 Sep, 2011 2 commits
  8. 01 Sep, 2011 4 commits
  9. 31 Aug, 2011 9 commits
  10. 27 Aug, 2011 1 commit