Re: [f2fs-dev] [PATCH v2] f2fs: relax migratepage for atomic written page

2017-07-06 Thread Chao Yu
On 2017/7/7 5:49, Jaegeuk Kim wrote: > In order to avoid lock contention for atomic written pages, we'd better give > EBUSY in f2fs_migrate_page when mode is asynchronous. We expect it will be > released soon as transaction commits. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu > --- >

Re: [PATCH v2] f2fs: relax migratepage for atomic written page

2017-07-06 Thread Jaegeuk Kim
In order to avoid lock contention for atomic written pages, we'd better give EBUSY in f2fs_migrate_page when mode is asynchronous. We expect it will be released soon as transaction commits. Signed-off-by: Jaegeuk Kim --- Change log from v1: - return -EBUSY when mode is MIGRATE_ASYNC or MIGRATE_