1. 10 4月, 2021 2 次提交
  2. 07 4月, 2021 1 次提交
    • G
      erofs: reserve physical_clusterbits[] · 54e0b6c8
      Gao Xiang 提交于
      Formal big pcluster design is actually more powerful / flexable than
      the previous thought whose pclustersize was fixed as power-of-2 blocks,
      which was obviously inefficient and space-wasting. Instead, pclustersize
      can now be set independently for each pcluster, so various pcluster
      sizes can also be used together in one file if mkfs wants (for example,
      according to data type and/or compression ratio).
      
      Let's get rid of previous physical_clusterbits[] setting (also notice
      that corresponding on-disk fields are still 0 for now). Therefore,
      head1/2 can be used for at most 2 different algorithms in one file and
      again pclustersize is now independent of these.
      
      Link: https://lore.kernel.org/r/20210407043927.10623-2-xiang@kernel.orgAcked-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NGao Xiang <hsiangkao@redhat.com>
      54e0b6c8
  3. 03 4月, 2021 1 次提交
  4. 29 3月, 2021 3 次提交
  5. 11 3月, 2021 1 次提交
  6. 09 12月, 2020 1 次提交
  7. 08 12月, 2020 3 次提交
  8. 04 11月, 2020 1 次提交
  9. 19 9月, 2020 3 次提交
  10. 18 9月, 2020 1 次提交
  11. 03 8月, 2020 2 次提交
  12. 17 7月, 2020 1 次提交
  13. 03 6月, 2020 2 次提交
  14. 29 5月, 2020 1 次提交
  15. 03 3月, 2020 1 次提交
    • G
      erofs: convert workstn to XArray · 64094a04
      Gao Xiang 提交于
      XArray has friendly APIs and it will replace the old radix
      tree in the near future.
      
      This convert makes use of __xa_cmpxchg when inserting on
      a just inserted item by other thread. In detail, instead
      of totally looking up again as what we did for the old
      radix tree, it will try to legitimize the current in-tree
      item in the XArray therefore more effective.
      
      In addition, naming is rather a challenge for non-English
      speaker like me. The basic idea of workstn is to provide
      a runtime sparse array with items arranged in the physical
      block number order. Such items (was called workgroup) can be
      used to record compress clusters or for later new features.
      
      However, both workgroup and workstn seem not good names from
      whatever point of view, so I'd like to rename them as pslot
      and managed_pslots to stand for physical slots. This patch
      handles the second as a part of the radix tree convert.
      
      Cc: Matthew Wilcox <willy@infradead.org>
      Link: https://lore.kernel.org/r/20200220024642.91529-1-gaoxiang25@huawei.comReviewed-by: NChao Yu <yuchao0@huawei.com>
      Signed-off-by: NGao Xiang <gaoxiang25@huawei.com>
      64094a04
  16. 21 1月, 2020 2 次提交
  17. 07 1月, 2020 2 次提交
  18. 24 11月, 2019 4 次提交
  19. 16 10月, 2019 2 次提交
  20. 01 10月, 2019 1 次提交
  21. 06 9月, 2019 5 次提交