summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2025-12-26 14:09:45 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2026-01-23 00:01:34 +0800
commit9aa64b62a73cbca226c0144dcf3cdf97294e0641 (patch)
tree3eb03307c187b4b3089a5fe1b34be36a2fc5271d /include/linux
parent48df6d1bc9d5e8d2d778c39d952c3d6cc39e5c73 (diff)
erofs: avoid noisy messages for transient -ENOMEM
EROFS may allocate temporary pages using GFP_NOWAIT | GFP_NORETRY when pcl->besteffort is off (e.g., for readahead requests). If the allocation fails, the original request will fall back to synchronous read, so the failure is transient. Such fallback can frequently happen in low memory scenarios, but since these failures are expected and temporary, avoid printing error messages like below: [ 7425.184264] erofs (device sr0): failed to decompress (lz4) -ENOMEM @ pa 148447232 size 28672 => 26788 [ 7426.244267] erofs (device sr0): failed to decompress (lz4) -ENOMEM @ pa 149422080 size 28672 => 15903 [ 7426.245508] erofs (device sr0): failed to decompress (lz4) -ENOMEM @ pa 138440704 size 28672 => 39294 ... [ 7504.258373] erofs (device sr0): failed to decompress (lz4) -ENOMEM @ pa 93581312 size 20480 => 47366 Fixes: 831faabed812 ("erofs: improve decompression error reporting") Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions