Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-12 Thread Daejun Park
>On 05/11, Chao Yu wrote: >> On 2021/5/11 14:41, Daejun Park wrote: >> > > On 2021/5/11 13:09, Jaegeuk Kim wrote: >> > > > On 05/11, Chao Yu wrote: >> > > > > On 2021/5/10 22:47, Jaegeuk Kim wrote: >> > > > > > On 05/06, Chao Yu wrote: >> > > > > > > On 2021/5/6 12:46, Jaegeuk Kim wrote: >> > > > >

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-11 Thread Jaegeuk Kim
On 05/11, Chao Yu wrote: > On 2021/5/11 14:41, Daejun Park wrote: > > > On 2021/5/11 13:09, Jaegeuk Kim wrote: > > > > On 05/11, Chao Yu wrote: > > > > > On 2021/5/10 22:47, Jaegeuk Kim wrote: > > > > > > On 05/06, Chao Yu wrote: > > > > > > > On 2021/5/6 12:46, Jaegeuk Kim wrote: > > > > > > > > O

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-11 Thread Chao Yu
On 2021/5/11 14:41, Daejun Park wrote: On 2021/5/11 13:09, Jaegeuk Kim wrote: On 05/11, Chao Yu wrote: On 2021/5/10 22:47, Jaegeuk Kim wrote: On 05/06, Chao Yu wrote: On 2021/5/6 12:46, Jaegeuk Kim wrote: On 05/06, Chao Yu wrote: On 2021/4/29 14:20, Daejun Park wrote: In file defragmentati

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-10 Thread Daejun Park
>On 2021/5/11 13:09, Jaegeuk Kim wrote: >> On 05/11, Chao Yu wrote: >>> On 2021/5/10 22:47, Jaegeuk Kim wrote: On 05/06, Chao Yu wrote: > On 2021/5/6 12:46, Jaegeuk Kim wrote: >> On 05/06, Chao Yu wrote: >>> On 2021/4/29 14:20, Daejun Park wrote: In file defragmentation by

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-10 Thread Chao Yu
On 2021/5/11 13:09, Jaegeuk Kim wrote: On 05/11, Chao Yu wrote: On 2021/5/10 22:47, Jaegeuk Kim wrote: On 05/06, Chao Yu wrote: On 2021/5/6 12:46, Jaegeuk Kim wrote: On 05/06, Chao Yu wrote: On 2021/4/29 14:20, Daejun Park wrote: In file defragmentation by ioctl, all data blocks in the file

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-10 Thread Jaegeuk Kim
On 05/11, Chao Yu wrote: > On 2021/5/10 22:47, Jaegeuk Kim wrote: > > On 05/06, Chao Yu wrote: > > > On 2021/5/6 12:46, Jaegeuk Kim wrote: > > > > On 05/06, Chao Yu wrote: > > > > > On 2021/4/29 14:20, Daejun Park wrote: > > > > > > In file defragmentation by ioctl, all data blocks in the file are

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-10 Thread Chao Yu
On 2021/5/10 22:47, Jaegeuk Kim wrote: On 05/06, Chao Yu wrote: On 2021/5/6 12:46, Jaegeuk Kim wrote: On 05/06, Chao Yu wrote: On 2021/4/29 14:20, Daejun Park wrote: In file defragmentation by ioctl, all data blocks in the file are re-written out-of-place. File defragmentation implies user wi

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-10 Thread Jaegeuk Kim
On 05/06, Chao Yu wrote: > On 2021/5/6 12:46, Jaegeuk Kim wrote: > > On 05/06, Chao Yu wrote: > > > On 2021/4/29 14:20, Daejun Park wrote: > > > > In file defragmentation by ioctl, all data blocks in the file are > > > > re-written out-of-place. File defragmentation implies user will not > > > > u

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-05 Thread Chao Yu
On 2021/5/6 12:46, Jaegeuk Kim wrote: On 05/06, Chao Yu wrote: On 2021/4/29 14:20, Daejun Park wrote: In file defragmentation by ioctl, all data blocks in the file are re-written out-of-place. File defragmentation implies user will not update and mostly read the file. So before the defragmentat

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-05 Thread Jaegeuk Kim
On 05/06, Chao Yu wrote: > On 2021/4/29 14:20, Daejun Park wrote: > > In file defragmentation by ioctl, all data blocks in the file are > > re-written out-of-place. File defragmentation implies user will not update > > and mostly read the file. So before the defragmentation, we set file > > tempera

Re: [f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-05-05 Thread Chao Yu
On 2021/4/29 14:20, Daejun Park wrote: In file defragmentation by ioctl, all data blocks in the file are re-written out-of-place. File defragmentation implies user will not update and mostly read the file. So before the defragmentation, we set file temperature as cold for better block allocation.

[f2fs-dev] [PATCH] f2fs: set file as cold when file defragmentation

2021-04-28 Thread Daejun Park
In file defragmentation by ioctl, all data blocks in the file are re-written out-of-place. File defragmentation implies user will not update and mostly read the file. So before the defragmentation, we set file temperature as cold for better block allocation. Signed-off-by: Daejun Park --- fs/f2f