During free nid allocation, in order to do preallocation, we will tag free
nid entry as allocated one and still leave it in free nid list, for other
allocators who want to grab free nids, it needs to traverse the free nid
list for lookup. It becomes overhead in scenario of allocating free nid
inten
Hi Jaegeuk,
On 2016/10/12 1:19, Jaegeuk Kim wrote:
> Hi Chao,
>
> On Tue, Oct 11, 2016 at 10:31:32PM +0800, Chao Yu wrote:
>> From: Chao Yu
>>
>> Rename free nid cache operation for readability, no functionality change.
>
> Well, I don't think this can be a *cache*, since there is no cache-rela
Hi Jaegeuk,
On 2016/10/12 6:19, Jaegeuk Kim wrote:
> Hi Chao,
>
> On Tue, Oct 11, 2016 at 10:56:59PM +0800, Chao Yu wrote:
>> From: Chao Yu
>>
>> We don't need to keep incomplete created inode in cache, so if we fail to
>> add link into directory during new inode creation, it's better to set
>>
From: Chao Yu
For readability, no functionality change.
Signed-off-by: Chao Yu
---
fs/f2fs/checkpoint.c | 2 +-
fs/f2fs/data.c | 2 +-
fs/f2fs/dir.c| 6 +++---
fs/f2fs/f2fs.h | 2 +-
fs/f2fs/file.c | 24
fs/f2fs/super.c | 4 ++--
fs/
From: Chao Yu
tests/generic/251 of fstest reports a f2fs bug in below message:
[ cut here ]
invalid opcode: [#1] PREEMPT SMP
CPU: 1 PID: 109 Comm: kworker/u8:2 Tainted: GW O4.8.0-rc4+ #22
Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox
On Wed, Oct 12, 2016 at 11:24:28PM +0800, Chao Yu wrote:
> Hi Jaegeuk,
>
> On 2016/10/12 6:19, Jaegeuk Kim wrote:
> > Hi Chao,
> >
> > On Tue, Oct 11, 2016 at 10:56:59PM +0800, Chao Yu wrote:
> >> From: Chao Yu
> >>
> >> We don't need to keep incomplete created inode in cache, so if we fail to
>
On Wed, Oct 12, 2016 at 11:14:42PM +0800, Chao Yu wrote:
> Hi Jaegeuk,
>
> On 2016/10/12 1:19, Jaegeuk Kim wrote:
> > Hi Chao,
> >
> > On Tue, Oct 11, 2016 at 10:31:32PM +0800, Chao Yu wrote:
> >> From: Chao Yu
> >>
> >> Rename free nid cache operation for readability, no functionality change.
>
This patch fixes using a wrong pointer for sum_page in f2fs_gc.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/gc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index e48142f..9c18917 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -854,16 +8
On Fri, Sep 30, 2016 at 7:58 PM, Eric Biggers wrote:
> The XTS tweak (or IV) was initialized differently on little endian and
> big endian systems. Because the ciphertext depends on the XTS tweak, it
> was not possible to use an encrypted filesystem created by a little
> endian system on a big en