Re: [f2fs-dev] [PATCH v5] f2fs: add reserved blocks for root user

2018-01-03 Thread Jaegeuk Kim
On 01/04, Chao Yu wrote: > On 2018/1/4 3:06, Jaegeuk Kim wrote: > > On 01/03, Chao Yu wrote: > >> On 2018/1/3 10:21, Jaegeuk Kim wrote: > >>> This patch allows root to reserve some blocks via mount option. > >>> > >>> "-o reserve_root=N" means N x 4KB-sized blocks for root only. > >>> > >>> Signed-

Re: [f2fs-dev] [PATCH v5] f2fs: add reserved blocks for root user

2018-01-03 Thread Chao Yu
On 2018/1/4 3:06, Jaegeuk Kim wrote: > On 01/03, Chao Yu wrote: >> On 2018/1/3 10:21, Jaegeuk Kim wrote: >>> This patch allows root to reserve some blocks via mount option. >>> >>> "-o reserve_root=N" means N x 4KB-sized blocks for root only. >>> >>> Signed-off-by: Jaegeuk Kim >>> --- >>> >>> Chan

Re: [f2fs-dev] [PATCH v5] f2fs: add reserved blocks for root user

2018-01-03 Thread Jaegeuk Kim
On 01/03, Chao Yu wrote: > On 2018/1/3 10:21, Jaegeuk Kim wrote: > > This patch allows root to reserve some blocks via mount option. > > > > "-o reserve_root=N" means N x 4KB-sized blocks for root only. > > > > Signed-off-by: Jaegeuk Kim > > --- > > > > Change log from v4: > > - fix f_bfree in

Re: [f2fs-dev] [PATCH v5] f2fs: add reserved blocks for root user

2018-01-02 Thread Chao Yu
On 2018/1/3 10:21, Jaegeuk Kim wrote: > This patch allows root to reserve some blocks via mount option. > > "-o reserve_root=N" means N x 4KB-sized blocks for root only. > > Signed-off-by: Jaegeuk Kim > --- > > Change log from v4: > - fix f_bfree in statfs Could you fix f_bfree calculation is

Re: [PATCH v5] f2fs: add reserved blocks for root user

2018-01-02 Thread Jaegeuk Kim
This patch allows root to reserve some blocks via mount option. "-o reserve_root=N" means N x 4KB-sized blocks for root only. Signed-off-by: Jaegeuk Kim --- Change log from v4: - fix f_bfree in statfs fs/f2fs/f2fs.h | 26 ++ fs/f2fs/super.c | 34 +