1. 07 9月, 2017 1 次提交
  2. 07 7月, 2017 1 次提交
  3. 15 6月, 2017 1 次提交
  4. 09 5月, 2017 1 次提交
  5. 04 5月, 2017 7 次提交
  6. 24 2月, 2017 1 次提交
  7. 20 2月, 2017 9 次提交
  8. 19 1月, 2017 1 次提交
  9. 13 1月, 2017 1 次提交
  10. 13 12月, 2016 2 次提交
  11. 03 10月, 2016 2 次提交
  12. 09 8月, 2016 1 次提交
  13. 28 7月, 2016 9 次提交
  14. 11 6月, 2016 1 次提交
    • L
      vfs: make the string hashes salt the hash · 8387ff25
      Linus Torvalds 提交于
      We always mixed in the parent pointer into the dentry name hash, but we
      did it late at lookup time.  It turns out that we can simplify that
      lookup-time action by salting the hash with the parent pointer early
      instead of late.
      
      A few other users of our string hashes also wanted to mix in their own
      pointers into the hash, and those are updated to use the same mechanism.
      
      Hash users that don't have any particular initial salt can just use the
      NULL pointer as a no-salt.
      
      Cc: Vegard Nossum <vegard.nossum@oracle.com>
      Cc: George Spelvin <linux@sciencehorizons.net>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8387ff25
  15. 26 5月, 2016 2 次提交
    • Y
      ceph: fix wake_up_session_cb() · e5360309
      Yan, Zheng 提交于
      We should reset i_requested_max_size before waking the waiters.
      (zero i_requested_max_size make waiter re-request the max size)
      Signed-off-by: NYan, Zheng <zyan@redhat.com>
      e5360309
    • Y
      ceph: using hash value to compose dentry offset · f3c4ebe6
      Yan, Zheng 提交于
      If MDS sorts dentries in dirfrag in hash order, we use hash value to
      compose dentry offset. dentry offset is:
      
        (0xff << 52) | ((24 bits hash) << 28) |
        (the nth entry hash hash collision)
      
      This offset is stable across directory fragmentation. This alos means
      there is no need to reset readdir offset if directory get fragmented
      in the middle of readdir.
      Signed-off-by: NYan, Zheng <zyan@redhat.com>
      f3c4ebe6