Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-05-10 Thread Jaegeuk Kim
On 05/10, Chao Yu wrote: > On 2021/4/22 14:07, Chao Yu wrote: > > On 2021/4/22 11:59, Jaegeuk Kim wrote: > > > On 04/21, Chao Yu wrote: > > > > On 2021/3/11 4:52, Jaegeuk Kim wrote: > > > > > On 03/09, Chao Yu wrote: > > > > > > On 2021/3/9 8:01, Jaegeuk Kim wrote: > > > > > > > On 03/05, Chao Yu w

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-05-10 Thread Chao Yu
On 2021/4/22 14:07, Chao Yu wrote: On 2021/4/22 11:59, Jaegeuk Kim wrote: On 04/21, Chao Yu wrote: On 2021/3/11 4:52, Jaegeuk Kim wrote: On 03/09, Chao Yu wrote: On 2021/3/9 8:01, Jaegeuk Kim wrote: On 03/05, Chao Yu wrote: On 2021/3/5 4:20, Jaegeuk Kim wrote: On 02/27, Jaegeuk Kim wrote:

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-04-21 Thread Chao Yu
On 2021/4/22 11:59, Jaegeuk Kim wrote: On 04/21, Chao Yu wrote: On 2021/3/11 4:52, Jaegeuk Kim wrote: On 03/09, Chao Yu wrote: On 2021/3/9 8:01, Jaegeuk Kim wrote: On 03/05, Chao Yu wrote: On 2021/3/5 4:20, Jaegeuk Kim wrote: On 02/27, Jaegeuk Kim wrote: On 02/04, Chao Yu wrote: Jaegeuk,

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-04-21 Thread Jaegeuk Kim
On 04/21, Chao Yu wrote: > On 2021/3/11 4:52, Jaegeuk Kim wrote: > > On 03/09, Chao Yu wrote: > > > On 2021/3/9 8:01, Jaegeuk Kim wrote: > > > > On 03/05, Chao Yu wrote: > > > > > On 2021/3/5 4:20, Jaegeuk Kim wrote: > > > > > > On 02/27, Jaegeuk Kim wrote: > > > > > > > On 02/04, Chao Yu wrote: >

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-04-21 Thread Chao Yu
On 2021/3/11 4:52, Jaegeuk Kim wrote: On 03/09, Chao Yu wrote: On 2021/3/9 8:01, Jaegeuk Kim wrote: On 03/05, Chao Yu wrote: On 2021/3/5 4:20, Jaegeuk Kim wrote: On 02/27, Jaegeuk Kim wrote: On 02/04, Chao Yu wrote: Jaegeuk, On 2021/2/2 16:00, Chao Yu wrote: - for (i = 0; i < dic->n

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-03-10 Thread Jaegeuk Kim
On 03/09, Chao Yu wrote: > On 2021/3/9 8:01, Jaegeuk Kim wrote: > > On 03/05, Chao Yu wrote: > > > On 2021/3/5 4:20, Jaegeuk Kim wrote: > > > > On 02/27, Jaegeuk Kim wrote: > > > > > On 02/04, Chao Yu wrote: > > > > > > Jaegeuk, > > > > > > > > > > > > On 2021/2/2 16:00, Chao Yu wrote: > > > > > >

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-03-08 Thread Chao Yu
On 2021/3/9 8:01, Jaegeuk Kim wrote: On 03/05, Chao Yu wrote: On 2021/3/5 4:20, Jaegeuk Kim wrote: On 02/27, Jaegeuk Kim wrote: On 02/04, Chao Yu wrote: Jaegeuk, On 2021/2/2 16:00, Chao Yu wrote: - for (i = 0; i < dic->nr_cpages; i++) { + for (i = 0; i < cc->nr_cpages; i++) {

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-03-08 Thread Jaegeuk Kim
On 03/05, Chao Yu wrote: > On 2021/3/5 4:20, Jaegeuk Kim wrote: > > On 02/27, Jaegeuk Kim wrote: > > > On 02/04, Chao Yu wrote: > > > > Jaegeuk, > > > > > > > > On 2021/2/2 16:00, Chao Yu wrote: > > > > > - for (i = 0; i < dic->nr_cpages; i++) { > > > > > + for (i = 0; i < cc->nr_cpages; i

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-03-04 Thread Chao Yu
On 2021/3/5 4:20, Jaegeuk Kim wrote: On 02/27, Jaegeuk Kim wrote: On 02/04, Chao Yu wrote: Jaegeuk, On 2021/2/2 16:00, Chao Yu wrote: - for (i = 0; i < dic->nr_cpages; i++) { + for (i = 0; i < cc->nr_cpages; i++) { struct page *page = dic->cpages[i]; por_fsstress

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-03-04 Thread Jaegeuk Kim
On 02/27, Jaegeuk Kim wrote: > On 02/04, Chao Yu wrote: > > Jaegeuk, > > > > On 2021/2/2 16:00, Chao Yu wrote: > > > - for (i = 0; i < dic->nr_cpages; i++) { > > > + for (i = 0; i < cc->nr_cpages; i++) { > > > struct page *page = dic->cpages[i]; > > > > por_fsstress still hang i

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-02-27 Thread Jaegeuk Kim
On 02/04, Chao Yu wrote: > Jaegeuk, > > On 2021/2/2 16:00, Chao Yu wrote: > > - for (i = 0; i < dic->nr_cpages; i++) { > > + for (i = 0; i < cc->nr_cpages; i++) { > > struct page *page = dic->cpages[i]; > > por_fsstress still hang in this line? I'm stuck on testing the patches, s

Re: [f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-02-03 Thread Chao Yu
Jaegeuk, On 2021/2/2 16:00, Chao Yu wrote: - for (i = 0; i < dic->nr_cpages; i++) { + for (i = 0; i < cc->nr_cpages; i++) { struct page *page = dic->cpages[i]; por_fsstress still hang in this line? Thanks, block_t blkaddr; struct b

[f2fs-dev] [PATCH v4] f2fs: compress: add compress_inode to cache compressed blockst

2021-02-02 Thread Chao Yu
Support to use address space of inner inode to cache compressed block, in order to improve cache hit ratio of random read. Signed-off-by: Chao Yu --- v4: - detect truncation during f2fs_cache_compressed_page() - don't set PageUptodate for temporary page in f2fs_load_compressed_page() - avoid chan