1. 24 10月, 2021 1 次提交
    • A
      iomap: Add done_before argument to iomap_dio_rw · 4fdccaa0
      Andreas Gruenbacher 提交于
      Add a done_before argument to iomap_dio_rw that indicates how much of
      the request has already been transferred.  When the request succeeds, we
      report that done_before additional bytes were tranferred.  This is
      useful for finishing a request asynchronously when part of the request
      has already been completed synchronously.
      
      We'll use that to allow iomap_dio_rw to be used with page faults
      disabled: when a page fault occurs while submitting a request, we
      synchronously complete the part of the request that has already been
      submitted.  The caller can then take care of the page fault and call
      iomap_dio_rw again for the rest of the request, passing in the number of
      bytes already tranferred.
      Signed-off-by: NAndreas Gruenbacher <agruenba@redhat.com>
      Reviewed-by: NDarrick J. Wong <djwong@kernel.org>
      4fdccaa0
  2. 20 8月, 2021 1 次提交
  3. 19 8月, 2021 1 次提交
  4. 10 8月, 2021 3 次提交
  5. 08 6月, 2021 1 次提交
  6. 29 3月, 2021 1 次提交
  7. 08 3月, 2021 1 次提交
  8. 27 2月, 2021 1 次提交
  9. 10 12月, 2020 1 次提交
  10. 19 9月, 2020 1 次提交
  11. 03 8月, 2020 1 次提交
  12. 17 7月, 2020 1 次提交
  13. 03 6月, 2020 1 次提交
  14. 29 5月, 2020 1 次提交
  15. 01 10月, 2019 1 次提交
  16. 06 9月, 2019 9 次提交
  17. 30 8月, 2019 2 次提交
  18. 24 8月, 2019 1 次提交
    • G
      erofs: move erofs out of staging · 47e4937a
      Gao Xiang 提交于
      EROFS filesystem has been merged into linux-staging for a year.
      
      EROFS is designed to be a better solution of saving extra storage
      space with guaranteed end-to-end performance for read-only files
      with the help of reduced metadata, fixed-sized output compression
      and decompression inplace technologies.
      
      In the past year, EROFS was greatly improved by many people as
      a staging driver, self-tested, betaed by a large number of our
      internal users, successfully applied to almost all in-service
      HUAWEI smartphones as the part of EMUI 9.1 and proven to be stable
      enough to be moved out of staging.
      
      EROFS is a self-contained filesystem driver. Although there are
      still some TODOs to be more generic, we have a dedicated team
      actively keeping on working on EROFS in order to make it better
      with the evolution of Linux kernel as the other in-kernel filesystems.
      
      As Pavel suggested, it's better to do as one commit since git
      can do moves and all histories will be saved in this way.
      
      Let's promote it from staging and enhance it more actively as
      a "real" part of kernel for more wider scenarios!
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Alexander Viro <viro@zeniv.linux.org.uk>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: David Sterba <dsterba@suse.cz>
      Cc: Amir Goldstein <amir73il@gmail.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Cc: Darrick J . Wong <darrick.wong@oracle.com>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jaegeuk Kim <jaegeuk@kernel.org>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Richard Weinberger <richard@nod.at>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Chao Yu <yuchao0@huawei.com>
      Cc: Miao Xie <miaoxie@huawei.com>
      Cc: Li Guifu <bluce.liguifu@huawei.com>
      Cc: Fang Wei <fangwei1@huawei.com>
      Signed-off-by: NGao Xiang <gaoxiang25@huawei.com>
      Link: https://lore.kernel.org/r/20190822213659.5501-1-hsiangkao@aol.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      47e4937a
  19. 15 8月, 2019 1 次提交
  20. 14 8月, 2019 1 次提交
  21. 02 8月, 2019 1 次提交
  22. 22 7月, 2019 1 次提交
  23. 26 6月, 2019 1 次提交
    • G
      staging: erofs: add compacted ondisk compression indexes · ec8c2442
      Gao Xiang 提交于
      This patch introduces new compacted compression indexes.
      
      In contract to legacy compression indexes that
         each 4k logical cluster has an 8-byte index,
      compacted ondisk compression indexes will have
         amortized 2 bytes for each 4k logical cluster (compacted 2B)
         amortized 4 bytes for each 4k logical cluster (compacted 4B)
      
      In detail, several continuous clusters will be encoded in
      a compacted pack with cluster types, offsets, and one blkaddr
      at the end of the pack to leave 4-byte margin for better
      decoding performance, as illustrated below:
         _____________________________________________
        |___@_____ encoded bits __________|_ blkaddr _|
        0       .                                     amortized * vcnt
        .          .
        .             .                   amortized * vcnt - 4
        .                .
        .___________________.
        |_type_|_clusterofs_|
      
      Note that compacted 2 / 4B should be aligned with 32 / 8 bytes
      in order to avoid each pack crossing page boundary.
      Reviewed-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NGao Xiang <gaoxiang25@huawei.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ec8c2442
  24. 30 4月, 2019 1 次提交
  25. 16 4月, 2019 1 次提交
  26. 26 3月, 2019 1 次提交
  27. 15 2月, 2019 1 次提交
  28. 15 1月, 2019 1 次提交
  29. 11 1月, 2019 1 次提交