Re: [f2fs-dev] [PATCHv6 11/11] iomap: add support for dma aligned direct-io

2022-07-25 Thread Eric Biggers
On Fri, Jul 22, 2022 at 02:26:05PM -0600, Keith Busch wrote: > On Fri, Jul 22, 2022 at 06:01:35PM +, Eric Biggers wrote: > > On Fri, Jul 22, 2022 at 08:43:55AM -0600, Keith Busch wrote: > > > On Fri, Jul 22, 2022 at 12:36:01AM -0700, Eric Biggers wrote: > > > > [+f2fs list and maintainers] > >

Re: [f2fs-dev] [PATCH v4 6/9] f2fs: don't allow DIO reads but not DIO writes

2022-07-25 Thread Eric Biggers
On Sat, Jul 23, 2022 at 07:01:59PM -0700, Jaegeuk Kim wrote: > On 07/22, Eric Biggers wrote: > > From: Eric Biggers > > > > Currently, if an f2fs filesystem is mounted with the mode=lfs and > > io_bits mount options, DIO reads are allowed but DIO writes are not. > > Allowing DIO reads but not DIO

Re: [f2fs-dev] [PATCH v3 3/3] f2fs: support compressed file write/read amplifiction

2022-07-25 Thread fengnan chang
> 2022年7月24日 17:58,Chao Yu 写道: > > On 2022/7/17 13:32, Fengnan Chang wrote: >> From: Fengnan Chang >> Try to support compressed file write and amplifiction accounting. >> Signed-off-by: Fengnan Chang >> --- >> fs/f2fs/data.c | 26 +- >> fs/f2fs/debug.c | 7 +-- >

[f2fs-dev] [PATCH RESEND] f2fs: fix to remove F2FS_COMPR_FL and tag F2FS_NOCOMP_FL at the same time

2022-07-25 Thread Chao Liu
From: Chao Liu If the inode has the compress flag, it will fail to use 'chattr -c +m' to remove its compress flag and tag no compress flag. However, the same command will be successful when executed again, as shown below: $ touch foo.txt $ chattr +c foo.txt $ chattr -c +m foo.txt chattr: