1. 25 4月, 2020 37 次提交
  2. 24 4月, 2020 3 次提交
    • D
      afs: Make record checking use TASK_UNINTERRUPTIBLE when appropriate · c4bfda16
      David Howells 提交于
      When an operation is meant to be done uninterruptibly (such as
      FS.StoreData), we should not be allowing volume and server record checking
      to be interrupted.
      
      Fixes: d2ddc776 ("afs: Overhaul volume and server record caching and fileserver rotation")
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      c4bfda16
    • D
      afs: Fix to actually set AFS_SERVER_FL_HAVE_EPOCH · 69cf3978
      David Howells 提交于
      AFS keeps track of the epoch value from the rxrpc protocol to note (a) when
      a fileserver appears to have restarted and (b) when different endpoints of
      a fileserver do not appear to be associated with the same fileserver
      (ie. all probes back from a fileserver from all of its interfaces should
      carry the same epoch).
      
      However, the AFS_SERVER_FL_HAVE_EPOCH flag that indicates that we've
      received the server's epoch is never set, though it is used.
      
      Fix this to set the flag when we first receive an epoch value from a probe
      sent to the filesystem client from the fileserver.
      
      Fixes: 3bf0fb6f ("afs: Probe multiple fileservers simultaneously")
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      69cf3978
    • D
      afs: Remove some unused bits · be59167c
      David Howells 提交于
      Remove three bits:
      
       (1) afs_server::no_epoch is neither set nor used.
      
       (2) afs_server::have_result is set and a wakeup is applied to it, but
           nothing looks at it or waits on it.
      
       (3) afs_vl_dump_edestaddrreq() prints afs_addr_list::probed, but nothing
           sets it for VL servers.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      be59167c