Re: [PATCH] f2fs: Simplify SEEK_DATA implementation

2020-08-29 Thread Chao Yu
On 2020-8-25 5:48, Matthew Wilcox (Oracle) wrote: Instead of finding the first dirty page and then seeing if it matches the index of a block that is NEW_ADDR, delay the lookup of the dirty bit until we've actually found a block that's NEW_ADDR. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-

[PATCH] f2fs: Simplify SEEK_DATA implementation

2020-08-24 Thread Matthew Wilcox (Oracle)
Instead of finding the first dirty page and then seeing if it matches the index of a block that is NEW_ADDR, delay the lookup of the dirty bit until we've actually found a block that's NEW_ADDR. Signed-off-by: Matthew Wilcox (Oracle) --- fs/f2fs/file.c | 35 --- 1