1. 27 5月, 2020 1 次提交
  2. 06 9月, 2019 11 次提交
  3. 04 9月, 2019 1 次提交
  4. 30 8月, 2019 1 次提交
  5. 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
  6. 15 8月, 2019 3 次提交
  7. 02 8月, 2019 2 次提交
  8. 01 7月, 2019 2 次提交
  9. 26 6月, 2019 2 次提交
  10. 18 6月, 2019 1 次提交
  11. 31 5月, 2019 2 次提交
  12. 22 3月, 2019 1 次提交
  13. 20 3月, 2019 1 次提交
  14. 18 3月, 2019 1 次提交
  15. 30 1月, 2019 1 次提交
  16. 15 1月, 2019 2 次提交
  17. 06 12月, 2018 1 次提交
  18. 10 10月, 2018 1 次提交
  19. 20 9月, 2018 1 次提交
  20. 14 9月, 2018 1 次提交
  21. 27 7月, 2018 3 次提交
    • G
      staging: erofs: introduce VLE decompression support · 3883a79a
      Gao Xiang 提交于
      This patch introduces the basic in-place VLE decompression
      implementation for the erofs file system.
      
      Compared with fixed-sized input compression, it implements
      what we call 'the variable-length extent compression' which
      specifies the same output size for each compression block
      to make the full use of IO bandwidth (which means almost
      all data from block device can be directly used for decomp-
      ression), improve the real (rather than just via data caching,
      which costs more memory) random read and keep the relatively
      lower compression ratios (it saves more storage space than
      fixed-sized input compression which is also configured with
      the same input block size), as illustrated below:
      
              |---  variable-length extent ---|------ VLE ------|---  VLE ---|
               /> clusterofs                  /> clusterofs     /> clusterofs /> clusterofs
         ++---|-------++-----------++---------|-++-----------++-|---------++-|
      ...||   |       ||           ||         | ||           || |         || | ... original data
         ++---|-------++-----------++---------|-++-----------++-|---------++-|
         ++->cluster<-++->cluster<-++->cluster<-++->cluster<-++->cluster<-++
              size         size         size         size         size
               \                             /                 /            /
                \                      /              /            /
                 \               /            /            /
                  ++-----------++-----------++-----------++
              ... ||           ||           ||           || ... compressed clusters
                  ++-----------++-----------++-----------++
                  ++->cluster<-++->cluster<-++->cluster<-++
                       size         size         size
      
      The main point of 'in-place' refers to the decompression mode:
      Instead of allocating independent compressed pages and data
      structures, it reuses the allocated file cache pages at most
      to store its compressed data and the corresponding pagevec in
      a time-sharing approach by default, which will be useful for
      low memory scenario.
      
      In the end, unlike the other filesystems with (de)compression
      support using a relatively large compression block size, which
      reads and decompresses >= 128KB at once, and gains a more
      good-looking random read (In fact it collects small random reads
      into large sequential reads and caches all decompressed data
      in memory, but it is unacceptable especially for embedded devices
      with limited memory, and it is not the real random read), we
      select a universal small-sized 4KB compressed cluster, which is
      the smallest page size for most architectures, and all compressed
      clusters can be read and decompressed independently, which ensures
      random read number for all use cases.
      Signed-off-by: NGao Xiang <gaoxiang25@huawei.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3883a79a
    • C
      staging: erofs: support tracepoint · 13f06f48
      Chao Yu 提交于
      Add basic tracepoints for ->readpage{,s}, ->lookup,
      ->destroy_inode, fill_inode and map_blocks.
      Reviewed-by: NGao Xiang <gaoxiang25@huawei.com>
      Signed-off-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      13f06f48
    • C
      staging: erofs: introduce error injection infrastructure · 9c07b3b3
      Chao Yu 提交于
      This patch introduces error injection infrastructure, with it, we can
      inject error in any kernel exported common functions which erofs used,
      so that it can force erofs running into error paths, it turns out that
      tests can cover real rare paths more easily to find bugs.
      Reviewed-by: NGao Xiang <gaoxiang25@huawei.com>
      Signed-off-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9c07b3b3