Re: [PATCH v2 1/2] erofs: simplify tail inline pcluster handling

From: Gao Xiang
Date: Mon Feb 24 2025 - 07:42:49 EST




On 2025/2/24 20:37, Gao Xiang wrote:
Commit ab92184ff8f1 ("erofs: add on-disk compressed tail-packing inline
support") introduced the flag `Z_EROFS_ADVISE_INLINE_PCLUSTER`, which is
redundant because `h_idata_size != 0` serves the same purpose.

Additionally, merge `z_idataoff` and `z_fragmentoff` since these two
features are mutually exclusive for a given inode.

Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>
---
new patch.

Note that `Z_EROFS_ADVISE_INLINE_PCLUSTER` now is left for
the compatibility purposes, only `mkfs.erofs` uses it in
the future.

Thanks,
Gao Xiang