Re: [f2fs-dev] [PATCH] common/rc: generalize _get_filesize()

2019-10-15 Thread Chao Yu
On 2019/10/2 19:02, Eryu Guan wrote: > On Fri, Sep 27, 2019 at 06:07:42PM +0800, Chao Yu wrote: >> There are some testcases use below command to get file size, generalize >> it as global function _get_filesize() >> >> ls -l $1 | $AWK_PROG '{print $5}' >> >> - adjust common/defrag, generic/275 and

Re: [f2fs-dev] [PATCH] common/rc: generalize _get_filesize()

2019-10-02 Thread Eryu Guan
On Fri, Sep 27, 2019 at 06:07:42PM +0800, Chao Yu wrote: > There are some testcases use below command to get file size, generalize > it as global function _get_filesize() > > ls -l $1 | $AWK_PROG '{print $5}' > > - adjust common/defrag, generic/275 and generic/315 to use it > - remove unused

[f2fs-dev] [PATCH] common/rc: generalize _get_filesize()

2019-09-27 Thread Chao Yu
There are some testcases use below command to get file size, generalize it as global function _get_filesize() ls -l $1 | $AWK_PROG '{print $5}' - adjust common/defrag, generic/275 and generic/315 to use it - remove unused _filesize in generic/013 Signed-off-by: Chao Yu --- common/defrag |