[f2fs-dev] fstrim fails on F2FS device

2014-06-27 Thread Brian Chadwick
Hi there running fstrim on a F2FS partition gives the following output: fstrim: /home: discard operation not supported. kernel 3.16.0-rc2 Is this normal? Cheers Brian -- Open source business process management suite

[f2fs-dev] [PATCH V2 3/4] f2fs: use find_next_bit_le rather than test_bit_le in find_in_block

2014-06-27 Thread Gu Zheng
Use find_next_bit_le rather than test_bit_le to improve search speed lightly. Signed-off-by: Gu Zheng --- v2: cleanup the needless code suggested by Yu Chao --- --- fs/f2fs/dir.c | 43 --- 1 files changed, 20 insertions(+), 23 deletions(-) diff --git a

[f2fs-dev] [PATCH V2 2/4] f2fs: remove the needless point-cast

2014-06-27 Thread Gu Zheng
Signed-off-by: Gu Zheng --- v2: fix the same issue in f2fs_delete_entry suggested by Yu Chao. --- --- fs/f2fs/dir.c | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 087b03d..bcbfbc4 100644 --- a/fs/f2fs/dir.c +++ b/fs/