On Tue, Jun 15, 2021 at 11:19:24AM +0800, wangxiaojun (N) wrote:
>
> 在 2021/6/15 10:31, Gao Xiang 写道:
> > On Tue, Jun 15, 2021 at 09:35:09AM +0800, Wang Xiaojun wrote:
> > > ERANGE indicates that the math result is not representative. Here,
> > > ENAMETOOLONG is used to replace ERANGE.
> > >
>
to linux-f2fs-devel@lists.sourceforge.net
在 2021/6/11 19:22, Sun Ke 写道:
It seem that f2fs also special like btrfs.
[+] Default length with start set (should succeed)
[+] Length beyond the end of fs (should succeed)
[+] Length beyond the end of fs with start set (should succeed)
+After the
to linux-f2fs-devel@lists.sourceforge.net
在 2021/6/11 19:22, Sun Ke 写道:
It failed on f2fs:
QA output created by 103
+fallocate: No space left on device
Silence is golden.
...
Try to leave ~512KB, but during the fallocate, f2fs will be filled.
Provide error prompt: "falloca
在 2021/6/11 19:22, Sun Ke 写道:
In generic/50, touch 100 files, go down the fs immediately, Then umount
and set the disk readi-only. Try to mount it again without \-o
norecovery\, it should fail, because it can not recovery on a read-only
device. But f2fs mount successfully and the test fail.
f2
在 2021/6/15 10:31, Gao Xiang 写道:
On Tue, Jun 15, 2021 at 09:35:09AM +0800, Wang Xiaojun wrote:
ERANGE indicates that the math result is not representative. Here,
ENAMETOOLONG is used to replace ERANGE.
Signed-off-by: Wang Xiaojun
I don't think ENAMETOOLONG is a valid return code for {g,s}etx
f2fs-utils 1.9.0 needs at least 38 MB space for f2fs image. However,
f2fs-utils 1.14.0 needs at least 52 MB. Not sure if it will change again.
So, just set it to 128M.
Signed-off-by: Sun Ke
Reviewed-by: Chao Yu
---
tests/generic/042 | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
d
On Tue, Jun 15, 2021 at 09:35:09AM +0800, Wang Xiaojun wrote:
> ERANGE indicates that the math result is not representative. Here,
> ENAMETOOLONG is used to replace ERANGE.
>
> Signed-off-by: Wang Xiaojun
I don't think ENAMETOOLONG is a valid return code for {g,s}etxattr.
https://man7.org/linux/
ERANGE indicates that the math result is not representative. Here,
ENAMETOOLONG is used to replace ERANGE.
Signed-off-by: Wang Xiaojun
---
fs/f2fs/xattr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/xattr.c b/fs/f2fs/xattr.c
index c8f34decbf8e..eb827c10e970 10