1. 01 Dec, 2019 30 commits
  2. 30 Nov, 2019 10 commits
    • Linus Torvalds's avatar
      Merge tag 'fsnotify_for_v5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 32ef9553
      Linus Torvalds authored
      Pull fsnotify updates from Jan Kara:
       "Three fsnotify cleanups"
      
      * tag 'fsnotify_for_v5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        fsnotify: Add git tree reference to MAINTAINERS
        fsnotify/fdinfo: exportfs_encode_inode_fh() takes pointer as 4th argument
        fsnotify: move declaration of fsnotify_mark_connector_cachep to fsnotify.h
      32ef9553
    • Linus Torvalds's avatar
      Merge tag 'for_v5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · b8072d5b
      Linus Torvalds authored
      Pull ext2, quota, reiserfs cleanups and fixes from Jan Kara:
      
       - Refactor the quota on/off kernel internal interfaces (mostly for
         ubifs quota support as ubifs does not want to have inodes holding
         quota information)
      
       - A few other small quota fixes and cleanups
      
       - Various small ext2 fixes and cleanups
      
       - Reiserfs xattr fix and one cleanup
      
      * tag 'for_v5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: (28 commits)
        ext2: code cleanup for descriptor_loc()
        fs/quota: handle overflows of sysctl fs.quota.* and report as unsigned long
        ext2: fix improper function comment
        ext2: code cleanup for ext2_try_to_allocate()
        ext2: skip unnecessary operations in ext2_try_to_allocate()
        ext2: Simplify initialization in ext2_try_to_allocate()
        ext2: code cleanup by calling ext2_group_last_block_no()
        ext2: introduce new helper ext2_group_last_block_no()
        reiserfs: replace open-coded atomic_dec_and_mutex_lock()
        ext2: check err when partial != NULL
        quota: Handle quotas without quota inodes in dquot_get_state()
        quota: Make dquot_disable() work without quota inodes
        quota: Drop dquot_enable()
        fs: Use dquot_load_quota_inode() from filesystems
        quota: Rename vfs_load_quota_inode() to dquot_load_quota_inode()
        quota: Simplify dquot_resume()
        quota: Factor out setup of quota inode
        quota: Check that quota is not dirty before release
        quota: fix livelock in dquot_writeback_dquots
        ext2: don't set *count in the case of failure in ext2_try_to_allocate()
        ...
      b8072d5b
    • Linus Torvalds's avatar
      Merge tag 'erofs-for-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs · e2d73c30
      Linus Torvalds authored
      Pull erofs updates from Gao Xiang:
       "No major kernel updates for this round since I'm fully diving into
        LZMA algorithm internals now to provide high CR XZ algorihm support.
        That needs more work and time for me to get a better compression time.
      
        Summary:
      
         - Introduce superblock checksum support
      
         - Set iowait when waiting I/O for sync decompression path
      
         - Several code cleanups"
      
      * tag 'erofs-for-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
        erofs: remove unnecessary output in erofs_show_options()
        erofs: drop all vle annotations for runtime names
        erofs: support superblock checksum
        erofs: set iowait for sync decompression
        erofs: clean up decompress queue stuffs
        erofs: get rid of __stagingpage_alloc helper
        erofs: remove dead code since managed cache is now built-in
        erofs: clean up collection handling routines
      e2d73c30
    • Linus Torvalds's avatar
      Merge tag '5.5-rc-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 21b26d26
      Linus Torvalds authored
      Pull cifs updates from Steve French:
       "Various smb3 fixes (including 12 for stable) and also features
        (addition of multichannel support)"
      
      * tag '5.5-rc-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6: (41 commits)
        CIFS: fix a white space issue in cifs_get_inode_info()
        cifs: update internal module version number
        cifs: Always update signing key of first channel
        cifs: Fix retrieval of DFS referrals in cifs_mount()
        cifs: Fix potential softlockups while refreshing DFS cache
        cifs: Fix lookup of root ses in DFS referral cache
        cifs: Fix use-after-free bug in cifs_reconnect()
        cifs: dump channel info in DebugData
        smb3: dump in_send and num_waiters stats counters by default
        cifs: try harder to open new channels
        CIFS: Properly process SMB3 lease breaks
        cifs: move cifsFileInfo_put logic into a work-queue
        cifs: try opening channels after mounting
        CIFS: refactor cifs_get_inode_info()
        cifs: switch servers depending on binding state
        cifs: add server param
        cifs: add multichannel mount options and data structs
        cifs: sort interface list by speed
        CIFS: Fix SMB2 oplock break processing
        cifs: don't use 'pre:' for MODULE_SOFTDEP
        ...
      21b26d26
    • Linus Torvalds's avatar
      Merge tag 'f2fs-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · 8f45533e
      Linus Torvalds authored
      Pull f2fs updates from Jaegeuk Kim:
       "In this round, we've introduced fairly small number of patches as below.
      
        Enhancements:
         - improve the in-place-update IO flow
         - allocate segment to guarantee no GC for pinned files
      
        Bug fixes:
         - fix updatetime in lazytime mode
         - potential memory leak in f2fs_listxattr
         - record parent inode number in rename2 correctly
         - fix deadlock in f2fs_gc along with atomic writes
         - avoid needless data migration in GC"
      
      * tag 'f2fs-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs:
        f2fs: stop GC when the victim becomes fully valid
        f2fs: expose main_blkaddr in sysfs
        f2fs: choose hardlimit when softlimit is larger than hardlimit in f2fs_statfs_project()
        f2fs: Fix deadlock in f2fs_gc() context during atomic files handling
        f2fs: show f2fs instance in printk_ratelimited
        f2fs: fix potential overflow
        f2fs: fix to update dir's i_pino during cross_rename
        f2fs: support aligned pinned file
        f2fs: avoid kernel panic on corruption test
        f2fs: fix wrong description in document
        f2fs: cache global IPU bio
        f2fs: fix to avoid memory leakage in f2fs_listxattr
        f2fs: check total_segments from devices in raw_super
        f2fs: update multi-dev metadata in resize_fs
        f2fs: mark recovery flag correctly in read_raw_super_block()
        f2fs: fix to update time in lazytime mode
      8f45533e
    • Linus Torvalds's avatar
      Merge tag 'afs-next-20191121' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs · 4a55d362
      Linus Torvalds authored
      Pull AFS updates from David Howells:
       "Minor cleanups and fix:
      
         - Minor fix to make some debugging statements display information
           from the correct iov_iter.
      
         - Rename some members and variables to make things more obvious or
           consistent.
      
         - Provide a helper to wrap increments of the usage count on the
           afs_read struct.
      
         - Use scnprintf() to print into a stack buffer rather than sprintf().
      
         - Remove some set but unused variables"
      
      * tag 'afs-next-20191121' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
        afs: Remove set but not used variable 'ret'
        afs: Remove set but not used variables 'before', 'after'
        afs: xattr: use scnprintf
        afs: Introduce an afs_get_read() refcount helper
        afs: Rename desc -> req in afs_fetch_data()
        afs: Switch the naming of call->iter and call->_iter
        afs: Use call->_iter not &call->iter in debugging statements
      4a55d362
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 50b8b3f8
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "This merge window saw the the following new featuers added to ext4:
      
         - Direct I/O via iomap (required the iomap-for-next branch from
           Darrick as a prereq).
      
         - Support for using dioread-nolock where the block size < page size.
      
         - Support for encryption for file systems where the block size < page
           size.
      
         - Rework of journal credits handling so a revoke-heavy workload will
           not cause the journal to run out of space.
      
         - Replace bit-spinlocks with spinlocks in jbd2
      
        Also included were some bug fixes and cleanups, mostly to clean up
        corner cases from fuzzed file systems and error path handling"
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (59 commits)
        ext4: work around deleting a file with i_nlink == 0 safely
        ext4: add more paranoia checking in ext4_expand_extra_isize handling
        jbd2: make jbd2_handle_buffer_credits() handle reserved handles
        ext4: fix a bug in ext4_wait_for_tail_page_commit
        ext4: bio_alloc with __GFP_DIRECT_RECLAIM never fails
        ext4: code cleanup for get_next_id
        ext4: fix leak of quota reservations
        ext4: remove unused variable warning in parse_options()
        ext4: Enable encryption for subpage-sized blocks
        fs/buffer.c: support fscrypt in block_read_full_page()
        ext4: Add error handling for io_end_vec struct allocation
        jbd2: Fine tune estimate of necessary descriptor blocks
        jbd2: Provide trace event for handle restarts
        ext4: Reserve revoke credits for freed blocks
        jbd2: Make credit checking more strict
        jbd2: Rename h_buffer_credits to h_total_credits
        jbd2: Reserve space for revoke descriptor blocks
        jbd2: Drop jbd2_space_needed()
        jbd2: Account descriptor blocks into t_outstanding_credits
        jbd2: Factor out common parts of stopping and restarting a handle
        ...
      50b8b3f8
    • Linus Torvalds's avatar
      Merge tag 'vfs-5.5-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · f112a2fd
      Linus Torvalds authored
      Pull splice fix from Darrick Wong:
       "Fix another place in the splice code where a pipe could ask a
        filesystem for a longer read than the pipe actually has free buffer
        space"
      
      * tag 'vfs-5.5-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        splice: only read in as much information as there is pipe buffer space
      f112a2fd
    • Linus Torvalds's avatar
      Merge tag 'iomap-5.5-merge-11' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 3b266a52
      Linus Torvalds authored
      Pull iomap updates from Darrick Wong:
       "In this release, we hoisted as much of XFS' writeback code into iomap
        as was practicable, refactored the unshare file data function, added
        the ability to perform buffered io copy on write, and tweaked various
        parts of the directio implementation as needed to port ext4's directio
        code (that will be a separate pull).
      
        Summary:
      
         - Make iomap_dio_rw callers explicitly tell us if they want us to
           wait
      
         - Port the xfs writeback code to iomap to complete the buffered io
           library functions
      
         - Refactor the unshare code to share common pieces
      
         - Add support for performing copy on write with buffered writes
      
         - Other minor fixes
      
         - Fix unchecked return in iomap_bmap
      
         - Fix a type casting bug in a ternary statement in
           iomap_dio_bio_actor
      
         - Improve tracepoints for easier diagnostic ability
      
         - Fix pipe page leakage in directio reads"
      
      * tag 'iomap-5.5-merge-11' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (31 commits)
        iomap: Fix pipe page leakage during splicing
        iomap: trace iomap_appply results
        iomap: fix return value of iomap_dio_bio_actor on 32bit systems
        iomap: iomap_bmap should check iomap_apply return value
        iomap: Fix overflow in iomap_page_mkwrite
        fs/iomap: remove redundant check in iomap_dio_rw()
        iomap: use a srcmap for a read-modify-write I/O
        iomap: renumber IOMAP_HOLE to 0
        iomap: use write_begin to read pages to unshare
        iomap: move the zeroing case out of iomap_read_page_sync
        iomap: ignore non-shared or non-data blocks in xfs_file_dirty
        iomap: always use AOP_FLAG_NOFS in iomap_write_begin
        iomap: remove the unused iomap argument to __iomap_write_end
        iomap: better document the IOMAP_F_* flags
        iomap: enhance writeback error message
        iomap: pass a struct page to iomap_finish_page_writeback
        iomap: cleanup iomap_ioend_compare
        iomap: move struct iomap_page out of iomap.h
        iomap: warn on inline maps in iomap_writepage_map
        iomap: lift the xfs writeback code to iomap
        ...
      3b266a52
    • Linus Torvalds's avatar
      Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · aa32f116
      Linus Torvalds authored
      Pull hmm updates from Jason Gunthorpe:
       "This is another round of bug fixing and cleanup. This time the focus
        is on the driver pattern to use mmu notifiers to monitor a VA range.
        This code is lifted out of many drivers and hmm_mirror directly into
        the mmu_notifier core and written using the best ideas from all the
        driver implementations.
      
        This removes many bugs from the drivers and has a very pleasing
        diffstat. More drivers can still be converted, but that is for another
        cycle.
      
         - A shared branch with RDMA reworking the RDMA ODP implementation
      
         - New mmu_interval_notifier API. This is focused on the use case of
           monitoring a VA and simplifies the process for drivers
      
         - A common seq-count locking scheme built into the
           mmu_interval_notifier API usable by drivers that call
           get_user_pages() or hmm_range_fault() with the VA range
      
         - Conversion of mlx5 ODP, hfi1, radeon, nouveau, AMD GPU, and Xen
           GntDev drivers to the new API. This deletes a lot of wonky driver
           code.
      
         - Two improvements for hmm_range_fault(), from testing done by Ralph"
      
      * tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        mm/hmm: remove hmm_range_dma_map and hmm_range_dma_unmap
        mm/hmm: make full use of walk_page_range()
        xen/gntdev: use mmu_interval_notifier_insert
        mm/hmm: remove hmm_mirror and related
        drm/amdgpu: Use mmu_interval_notifier instead of hmm_mirror
        drm/amdgpu: Use mmu_interval_insert instead of hmm_mirror
        drm/amdgpu: Call find_vma under mmap_sem
        nouveau: use mmu_interval_notifier instead of hmm_mirror
        nouveau: use mmu_notifier directly for invalidate_range_start
        drm/radeon: use mmu_interval_notifier_insert
        RDMA/hfi1: Use mmu_interval_notifier_insert for user_exp_rcv
        RDMA/odp: Use mmu_interval_notifier_insert()
        mm/hmm: define the pre-processor related parts of hmm.h even if disabled
        mm/hmm: allow hmm_range to be used with a mmu_interval_notifier or hmm_mirror
        mm/mmu_notifier: add an interval tree notifier
        mm/mmu_notifier: define the header pre-processor parts even if disabled
        mm/hmm: allow snapshot of the special zero page
      aa32f116