Re: [f2fs-dev] [PATCH 03/18] f2fs crypto: declare some definitions for f2fs encryption feature

2015-05-14 Thread Tom Marshall
Please keep in mind that I'm also working on transparent compression. I'm watching this thread closely so that I can implement a compression library alongside the crypto library. If there is any interest or benefit, I would be glad to work together so that the two can be done cooperatively

Re: [f2fs-dev] Space leak in f2fs

2015-05-14 Thread Jaegeuk Kim
Hi Hu, I've been rethinking about whole this issue differently. And, now I'm starting to test with the below patch instead of previous one. Thanks, Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/checkpoint.c | 19 +++ fs/f2fs/data.c | 4 fs/f2fs/f2fs.h

[f2fs-dev] [PATCH] f2fs crypto: fix incorrect release for crypto ctx

2015-05-14 Thread Chao Yu
When encryption feature is enable, if we rmmod f2fs module, we will encounter a stack backtrace reported in syslog: BUG: Bad page state in process rmmod pfn:aaf8a page:f0f4f148 count:0 mapcount:129 mapping:ee2f4104 index:0x80 flags:

[f2fs-dev] [patch] f2fs: cleanup a confusing indent

2015-05-14 Thread Dan Carpenter
The return was not indented far enough so it looked like it was supposed to go with the other if statement. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 17e89ba..741db3a 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@