On Thu, 17 Aug 2023 16:28:11 +0800
Gao Xiang wrote:
> EROFS_MAP_FULL_MAPPED is more accurate to decide if caching the last
> incomplete pcluster for later read or not.
>
> Signed-off-by: Gao Xiang
> ---
> fs/erofs/zdata.c | 7 ++-
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
>
Hi Matthew,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
url:
https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/mm-Change-calling-convention-for-huge_fault/20230818-040348
base:
Hi Matthew,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
url:
https://github.com/intel-lab-lkp/linux/commits/Matthew-Wilcox-Oracle/mm-Change-calling-convention-for-huge_fault/20230818-040348
base:
On Thu, 17 Aug 2023 16:28:10 +0800
Gao Xiang wrote:
> It can be folded into z_erofs_onlinepage_endio() to simplify the code.
>
> Signed-off-by: Gao Xiang
Reviewed-by: Yue Hu
On Thu, 17 Aug 2023 16:28:09 +0800
Gao Xiang wrote:
> - Fix a typo: spiltted => split;
>
> - Move !EROFS_MAP_MAPPED and EROFS_MAP_FRAGMENT upwards;
>
> - Increase `split` in advance to avoid unnecessary repeat.
>
> Signed-off-by: Gao Xiang
Reviewed-by: Yue Hu
On Thu, 17 Aug 2023 16:28:08 +0800
Gao Xiang wrote:
> Some preparation logic should be part of z_erofs_pcluster_begin()
> instead of z_erofs_do_read_page(). Let's move now.
>
> Signed-off-by: Gao Xiang
Reviewed-by: Yue Hu
On Thu, 17 Aug 2023 16:28:07 +0800
Gao Xiang wrote:
> {collector,collection} were once reserved in order to indicate different
> runtime logical extent instance of multi-reference pclusters.
>
> However, de-duplicated decompression has been landed in a more flexable
> way, thus `struct
On Thu, 17 Aug 2023 16:28:06 +0800
Gao Xiang wrote:
> A trivial cleanup to make the fragment handling logic more clear.
>
> Signed-off-by: Gao Xiang
Reviewed-by: Yue Hu
randconfig-r034-20230817 gcc
arc randconfig-r043-20230817 gcc
arm allmodconfig gcc
arm allyesconfig gcc
arm defconfig gcc
armdove_defconfig
Remove the unnecessary encoding of page order into an enum and allow
->huge_fault to be called with the vma lock held instead of the mmap_lock.
These two changes are intentionally bundled together to give people a
reasonable chance of noticing that Something Has Changed and they should
audit their
Hi Heinrich,
On 2023/8/17 15:01, Heinrich Schuchardt wrote:
The erofs file system creates noisy messages when it is not used:
=> host bind 0 disk.img
=> part list host 0
cannot find valid erofs superblock
cannot find valid erofs superblock
Partition Map for HOST
It's a straight-forward conversion and no logic changes (except that
it renames the corresponding tracepoint.)
Signed-off-by: Gao Xiang
---
changes since v1:
- folio->index is still indexed in the page unit, so PAGE_SHIFT is needed.
fs/erofs/zdata.c | 9 -
It's a straight-forward conversion and no logic changes (except that
it renames the corresponding tracepoint.)
Signed-off-by: Gao Xiang
---
erofs stress test passes.
fs/erofs/zdata.c | 9 -
include/trace/events/erofs.h | 16
2 files changed, 12
It's a straight-forward conversion except that readahead_folio()
will do folio_put() in advance but it doesn't matter since folios
are still locked.
As before, since file-backed folios (pages for now) are locked, so
we could temporarily use folio->private as an internal counter to
indicate split
It can be folded into z_erofs_onlinepage_endio() to simplify the code.
Signed-off-by: Gao Xiang
---
fs/erofs/zdata.c | 29 +
1 file changed, 9 insertions(+), 20 deletions(-)
diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c
index a200e99f7d4f..4009283944ca 100644
---
EROFS_MAP_FULL_MAPPED is more accurate to decide if caching the last
incomplete pcluster for later read or not.
Signed-off-by: Gao Xiang
---
fs/erofs/zdata.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c
index
- Fix a typo: spiltted => split;
- Move !EROFS_MAP_MAPPED and EROFS_MAP_FRAGMENT upwards;
- Increase `split` in advance to avoid unnecessary repeat.
Signed-off-by: Gao Xiang
---
fs/erofs/zdata.c | 53 ++--
1 file changed, 24 insertions(+), 29
Some preparation logic should be part of z_erofs_pcluster_begin()
instead of z_erofs_do_read_page(). Let's move now.
Signed-off-by: Gao Xiang
---
fs/erofs/zdata.c | 59 +---
1 file changed, 26 insertions(+), 33 deletions(-)
diff --git
{collector,collection} were once reserved in order to indicate different
runtime logical extent instance of multi-reference pclusters.
However, de-duplicated decompression has been landed in a more flexable
way, thus `struct z_erofs_collection` was formally removed in commit
87ca34a7065d ("erofs:
A trivial cleanup to make the fragment handling logic more clear.
Signed-off-by: Gao Xiang
---
fs/erofs/zdata.c | 39 +--
1 file changed, 13 insertions(+), 26 deletions(-)
diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c
index 53820271e538..dc104add0a99
Make erofs_listxattr() and erofs_getxattr() routine support long xattr
name prefixes.
Although the on-disk format allows long xattr name prefixes to be placed
in the meta inode or packed inode, currently mkfs.erofs will place them
in packed inode by default. Thus let's also read long xattr name
Add erofs_read_metadata() helper reading variable-sized metadata from
inode specified by @nid. Read from meta inode if @nid is 0.
Signed-off-by: Jingbo Xu
---
include/erofs/internal.h | 2 +
lib/data.c | 84
2 files changed, 86
v3:
- patch 3: rename to erofs_read_metadata_bdi() and
erofs_read_metadata_nid()
v2:
- add patch 3 to introduce erofs_read_metadata() helper, so that the
long xattr name prefixes could also be read from meta inode
v1:
Since the introduction of long xattr name prefix, match_prefix() will
search among the long xattr name prefixes first and return the matched
prefix, while erofs_getxattr() expects a base prefix even when the
queried xattr name matches a long prefix.
Thus introduce match_base_prefix() helper to do
The erofs file system creates noisy messages when it is not used:
=> host bind 0 disk.img
=> part list host 0
cannot find valid erofs superblock
cannot find valid erofs superblock
Partition Map for HOST device 0 -- Partition Type: EFI
If there is not erofs file system,
25 matches
Mail list logo