Skip to content
Snippets Groups Projects
  1. Dec 29, 2023
  2. Dec 28, 2023
  3. Dec 21, 2023
  4. Dec 11, 2023
  5. Nov 25, 2023
  6. Nov 16, 2023
  7. Nov 01, 2023
  8. Oct 28, 2023
  9. Oct 25, 2023
  10. Oct 18, 2023
  11. Oct 09, 2023
  12. Oct 04, 2023
  13. Oct 02, 2023
  14. Aug 23, 2023
  15. Aug 18, 2023
  16. Aug 09, 2023
  17. Aug 06, 2023
    • Linus Torvalds's avatar
      vfs: get rid of old '->iterate' directory operation · 3e327154
      Linus Torvalds authored
      
      All users now just use '->iterate_shared()', which only takes the
      directory inode lock for reading.
      
      Filesystems that never got convered to shared mode now instead use a
      wrapper that drops the lock, re-takes it in write mode, calls the old
      function, and then downgrades the lock back to read mode.
      
      This way the VFS layer and other callers no longer need to care about
      filesystems that never got converted to the modern era.
      
      The filesystems that use the new wrapper are ceph, coda, exfat, jfs,
      ntfs, ocfs2, overlayfs, and vboxsf.
      
      Honestly, several of them look like they really could just iterate their
      directories in shared mode and skip the wrapper entirely, but the point
      of this change is to not change semantics or fix filesystems that
      haven't been fixed in the last 7+ years, but to finally get rid of the
      dual iterators.
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
      3e327154
  18. Aug 02, 2023
  19. Jul 24, 2023
  20. Jul 20, 2023
    • Alexander Aring's avatar
      fs: dlm: fix F_CANCELLK to cancel pending request · dc52cd2e
      Alexander Aring authored
      
      This patch fixes the current handling of F_CANCELLK by not just doing a
      unlock as we need to try to cancel a lock at first. A unlock makes sense
      on a non-blocking lock request but if it's a blocking lock request we
      need to cancel the request until it's not granted yet. This patch is fixing
      this behaviour by first try to cancel a lock request and if it's failed
      it's unlocking the lock which seems to be granted.
      
      Note: currently the nfs locking handling was disabled by commit
      40595cdc ("nfs: block notification on fs with its own ->lock").
      However DLM was never being updated regarding to this change. Future
      patches will try to fix lockd lock requests for DLM. This patch is
      currently assuming the upstream DLM lockd handling is correct.
      
      Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
      Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
      dc52cd2e
  21. Jul 08, 2023
  22. Jun 24, 2023
  23. Jun 12, 2023
Loading