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. 23 9月, 2021 2 次提交
  3. 25 8月, 2021 1 次提交
  4. 20 8月, 2021 2 次提交
  5. 19 8月, 2021 3 次提交
  6. 11 8月, 2021 2 次提交
  7. 10 8月, 2021 3 次提交
  8. 08 6月, 2021 3 次提交
  9. 13 5月, 2021 1 次提交
  10. 10 4月, 2021 9 次提交
  11. 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
  12. 03 4月, 2021 1 次提交
  13. 29 3月, 2021 10 次提交
  14. 11 3月, 2021 1 次提交