Re: [f2fs-dev] [GIT PULL] f2fs for 5.18

2022-06-15 Thread Pavel Machek
Hi! > > > AFAICS, the read-unfair rwsem code is created to resolve a potential > > > lock starvation problem that they found on linux-5.10.y stable tree. I > > > believe I have fixed that in the v5.11 kernel, see commit 2f06f702925 > > > ("locking/rwsem: Prevent potential lock starvation"). > > >

Re: [f2fs-dev] [PATCH] sload.f2fs: Reword "IMMUTABLE" in strings/comments

2021-06-22 Thread Pavel Machek
Hi! > Since the IMMUTABLE flag for compression is now changed > to F2FS_COMPRESS_RELEASED, some 'IMMUTABLE' words should be changed too: > 1. sload help page > 2. inline comments > > Signed-off-by: Robin Hsu > @@ -650,7 +651,7 @@ void f2fs_parse_options(int argc, char *argv[]) >

Re: Next 20190621: fails to link f2fs in x86-32

2019-06-28 Thread Pavel Machek
On Mon 2019-06-24 10:20:52, Stephen Rothwell wrote: > Hi all, > > On Sat, 22 Jun 2019 19:49:45 +0200 Pavel Machek wrote: > > > > ld: fs/f2fs/gc.o: in function `f2fs_resize_fs': > > gc.c:(.text+0x3a91): undefined reference to `__umoddi3' > > ld:

Re: Next 20190621: fails to link f2fs in x86-32

2019-06-22 Thread Pavel Machek
Hi! > > > I get this during compilation: > > > > > > CC net/netfilter/core.o > > > In file included from net/netfilter/core.c:19:0: > > > ./include/linux/netfilter_ipv6.h: In function > > > ‘nf_ipv6_cookie_init_sequence’: > > > ./include/linux/netfilter_ipv6.h:174:2: error: implici

Re: Next 20190621: fails to link f2fs in x86-32

2019-06-22 Thread Pavel Machek
HI! > On Fri, 21 Jun 2019 13:03:11 +0200 Pavel Machek wrote: > > > > I get this during compilation: > > > > CC net/netfilter/core.o > > In file included from net/netfilter/core.c:19:0: > > ./include/linux/netfilter_ipv6.h: In funct

Re: [PATCH 1/2] f2fs: use generic EFSBADCRC/EFSCORRUPTED

2019-06-21 Thread Pavel Machek
e generic error > code macros, and spread them in code. > > EFSBADCRC EBADMSG /* Bad CRC detected */ > EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */ > > Reported-by: Pavel Machek > Signed-off-by: Chao Yu Acked-by: Pavel Machek -- (english) htt

Re: [PATCH 2/2] f2fs: set SBI_NEED_FSCK for xattr corruption case

2019-06-21 Thread Pavel Machek
On Thu 2019-06-20 11:36:15, Chao Yu wrote: > If xattr is corrupted, let's print kernel message and set SBI_NEED_FSCK > for further repair. > > Reported-by: Pavel Machek > Signed-off-by: Chao Yu Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmac

Re: [f2fs-dev] [PATCH] f2fs: add an ioctl() to explicitly trigger fsck later

2018-12-05 Thread Pavel Machek
On Wed 2018-11-28 17:52:57, Jaegeuk Kim wrote: > This adds an option in ioctl(F2FS_IOC_SHUTDOWN) in order to trigger fsck by > setting a NEED_FSCK flag. > > Signed-off-by: Jaegeuk Kim I don't expect to use it too often, but it makes sense.

Re: [f2fs-dev] [PATCH] f2fs: Introduce lifetime write IO statistics

2016-02-20 Thread Pavel Machek
Hi! > From: Shuoran Liu > > Signed-off-by: Shuoran Liu > Signed-off-by: Pengyang Hou > --- a/fs/f2fs/checkpoint.c > +++ b/fs/f2fs/checkpoint.c > @@ -921,6 +921,10 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, > struct cp_control *cpc) > int cp_payload_blks = __cp_payload(sbi);

[f2fs-dev] f2fs tests

2013-06-21 Thread Pavel Machek
Hi! I played a bit with f2fs... First, I had to compile the f2fstools... Unfortunately they require never autoconf than available on debian. I tried to hack it, but then I decided that compiling it by hand is just simpler. gcc -I include/ -I . lib/*.c mkfs/*.c /usr/lib/libuuid.so does the trick