Skip to content

erofs: patchset addressing Christoph's comments

Gao Xiang linux-erofs linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 36 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21erofs: remove all the byte offset commentsfs/erofs/erofs_fs.h+54 -511 reply
2/21erofs: on-disk format should have explicitly assigned numbersfs/erofs/erofs_fs.h+9 -91 reply
3/21erofs: some macros are much more readable as a functionfs/erofs/erofs_fs.h fs/erofs/inode.c fs/erofs/xattr.c+17 -111 reply
4/21erofs: kill __packed for on-disk structuresfs/erofs/erofs_fs.h+9 -91 reply
5/21erofs: update erofs_inode_is_data_compressed helperfs/erofs/erofs_fs.h+2 -31 reply
6/21erofs: kill erofs_{init,exit}_inode_cachefs/erofs/super.c+12 -191 reply
7/21erofs: use erofs_inode namingfs/erofs/data.c fs/erofs/dir.c fs/erofs/inode.c +8 more+60 -654 replies
8/21erofs: update comments in inode.cfs/erofs/inode.c+2 -30 replies
9/21erofs: update erofs symlink stuffsfs/erofs/inode.c fs/erofs/internal.h fs/erofs/super.c+12 -381 reply
10/21erofs: kill is_inode_layout_compression()fs/erofs/data.c fs/erofs/inode.c fs/erofs/internal.h+5 -101 reply
11/21erofs: use dsb instead of layout for ondisk super_blockfs/erofs/super.c+18 -182 replies
12/21erofs: kill verbose debug info in erofs_fill_superfs/erofs/super.c+2 -72 replies
13/21erofs: simplify erofs_grab_bio() since bio_alloc() never failfs/erofs/data.c fs/erofs/internal.h fs/erofs/zdata.c+5 -311 reply
14/21erofs: kill prio and nofail of erofs_get_meta_page()fs/erofs/data.c fs/erofs/inode.c fs/erofs/internal.h +2 more+16 -451 reply
15/21erofs: kill __submit_bio()fs/erofs/data.c fs/erofs/internal.h fs/erofs/zdata.c+13 -170 replies
16/21erofs: kill magic underscoresfs/erofs/inode.c fs/erofs/internal.h+10 -124 replies
17/21erofs: use a switch statement when dealing with the file modesfs/erofs/inode.c+26 -121 reply
18/21erofs: add "erofs_" prefix for common and short functionsfs/erofs/data.c fs/erofs/decompressor.c fs/erofs/inode.c +3 more+46 -451 reply
19/21erofs: kill all erofs specific fault injectionDocumentation/filesystems/erofs.txt fs/erofs/Kconfig fs/erofs/data.c +4 more+2 -1621 reply
20/21erofs: kill use_vmap module parameterDocumentation/filesystems/erofs.txt fs/erofs/decompressor.c+1 -152 replies
21/21erofs: save one level of indentationfs/erofs/inode.c+33 -321 reply

Reviews trailers per patch

None of the 21 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChao Yu
SeriesR-b
1/21
2/21
3/21
4/21
5/21
6/21
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21
19/21
20/21
21/21

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/21] erofs: patchset addressing Christoph's comments

Hi,

This patchset is based on the following patch by Pratik Shinde,
https://lore.kernel.org/linux-erofs/[email protected]/

All patches addressing Christoph's comments on v6, which are trivial, most deleted code are from erofs specific fault injection, which was followed f2fs and previously discussed in earlier topic [1], but let's follow what Christoph's said now.

Comments and suggestions are welcome...

[1] https://lore.kernel.org/r/[email protected]/

Thanks,
Gao Xiang

Gao Xiang (21):
erofs: remove all the byte offset comments
erofs: on-disk format should have explicitly assigned numbers
erofs: some macros are much more readable as a function
erofs: kill __packed for on-disk structures
erofs: update erofs_inode_is_data_compressed helper
erofs: kill erofs_{init,exit}_inode_cache
erofs: use erofs_inode naming
erofs: update comments in inode.c
erofs: update erofs symlink stuffs
erofs: kill is_inode_layout_compression()
erofs: use dsb instead of layout for ondisk super_block
erofs: kill verbose debug info in erofs_fill_super
erofs: simplify erofs_grab_bio() since bio_alloc() never fail
erofs: kill prio and nofail of erofs_get_meta_page()
erofs: kill __submit_bio()
erofs: kill magic underscores
erofs: use a switch statement when dealing with the file modes
erofs: add "erofs_" prefix for common and short functions
erofs: kill all erofs specific fault injection
erofs: kill use_vmap module parameter
erofs: save one level of indentation

 Documentation/filesystems/erofs.txt |   9 --
 fs/erofs/Kconfig                    |   7 --
 fs/erofs/data.c                     |  62 +++-------
 fs/erofs/decompressor.c             |  34 ++---
 fs/erofs/dir.c                      |   6 +-
 fs/erofs/erofs_fs.h                 | 162 ++++++++++++------------
 fs/erofs/inode.c                    | 176 +++++++++++++-------------
 fs/erofs/internal.h                 | 156 +++--------------------
 fs/erofs/namei.c                    |  12 +-
 fs/erofs/super.c                    | 185 ++++++++--------------------
 fs/erofs/xattr.c                    |  33 +++--
 fs/erofs/xattr.h                    |   4 +-
 fs/erofs/zdata.c                    |  44 +++----
 fs/erofs/zmap.c                     |  32 ++---
 include/trace/events/erofs.h        |  14 +--
 15 files changed, 338 insertions(+), 598 deletions(-)
Signature · 1 line
2.17.1