• Linus Torvalds's avatar
    Merge tag 'erofs-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs · 4a6bff11
    Linus Torvalds authored
    Pull erofs updates from Gao Xiang:
     "In this cycle, large folios are now enabled in the iomap/fscache mode
      for uncompressed files first. In order to do that, we've also cleaned
      up better interfaces between erofs and fscache, which are acked by
      fscache/netfs folks and included in this pull request.
    
      Other than that, there are random fixes around erofs over fscache and
      crafted images by syzbot, minor cleanups and documentation updates.
    
      Summary:
    
       - Enable large folios for iomap/fscache mode
    
       - Avoid sysfs warning due to mounting twice with the same fsid and
         domain_id in fscache mode
    
       - Refine fscache interface among erofs, fscache, and cachefiles
    
       - Use kmap_local_page() only for metabuf
    
       - Fixes around crafted images found by syzbot
    
       - Minor cleanups and documentation updates"
    
    * tag 'erofs-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
      erofs: validate the extent length for uncompressed pclusters
      erofs: fix missing unmap if z_erofs_get_extent_compressedlen() fails
      erofs: Fix pcluster memleak when its block address is zero
      erofs: use kmap_local_page() only for erofs_bread()
      erofs: enable large folios for fscache mode
      erofs: support large folios for fscache mode
      erofs: switch to prepare_ondemand_read() in fscache mode
      fscache,cachefiles: add prepare_ondemand_read() callback
      erofs: clean up cached I/O strategies
      erofs: update documentation
      erofs: check the uniqueness of fsid in shared domain in advance
      erofs: enable large folios for iomap mode
    4a6bff11
fscache.c 15.4 KB