Re: [f2fs-dev] [PATCH] f2fs: fix quota info to adjust recovered data

2018-09-21 Thread Chao Yu
On 2018/9/21 5:42, Jaegeuk Kim wrote: > On 09/20, Chao Yu wrote: >> On 2018/9/20 6:38, Jaegeuk Kim wrote: >>> On 09/19, Chao Yu wrote: On 2018/9/19 0:45, Jaegeuk Kim wrote: > On 09/18, Chao Yu wrote: >> On 2018/9/18 10:05, Jaegeuk Kim wrote: >>> On 09/18, Chao Yu wrote: On

[f2fs-dev] [Bug 200871] F2FS experiences data loss (entry is completely lost) when an I/O failure occurs.

2018-09-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200871 --- Comment #10 from Chao Yu (c...@kernel.org) --- (In reply to Stathis Maneas from comment #7) > Please find attached the required files to reproduce the error. Start with > the Makefile to compile and install the module into your kernel. > > As

[f2fs-dev] [PATCH v4] f2fs: allow out-place-update for direct IO in LFS mode

2018-09-21 Thread Chao Yu
From: Chao Yu Normally, DIO uses in-pllace-update, but in LFS mode, f2fs doesn't allow triggering any in-place-update writes, so we fallback direct write to buffered write, result in bad performance of large size write. This patch adds to support triggering out-place-update for direct IO to enha

Re: [f2fs-dev] [PATCH v3] f2fs: submit cached bio to avoid endless PageWriteback

2018-09-21 Thread Chao Yu
On 2018/9/18 10:14, Chao Yu wrote: > On 2018/9/18 10:02, Jaegeuk Kim wrote: >> On 09/18, Chao Yu wrote: >>> On 2018/9/18 9:37, Jaegeuk Kim wrote: On 09/18, Chao Yu wrote: > On 2018/9/18 9:04, Jaegeuk Kim wrote: >> On 09/13, Chao Yu wrote: >>> From: Chao Yu >>> >>> When mig

Re: [f2fs-dev] [PATCH] f2fs: avoid GC causing encrypted file corrupted

2018-09-21 Thread Chao Yu
On 2018/9/19 2:17, Jaegeuk Kim wrote: > On 09/18, Yunlong Song wrote: >> The encrypted file may be corrupted by GC in following case: >> >> Time 1: | segment 1 blkaddr = A | GC -> | segment 2 blkaddr = B | >> Encrypted block 1 is moved from blkaddr A of segment 1 to blkaddr B of >> segment 2, >> >