• C
    f2fs: don't submit irrelevant page · 6ca56ca4
    Chao Yu 提交于
    While we call ->writepages, there are two cases:
    a. we didn't writeout any dirty pages, since they are writebacked by other
    thread concurrently.
    b. we writeout dirty pages, and have already submitted bio to block layer.
    
    In these cases, we don't need to do additional bio flushing unnecessarily,
    it may split bio in cache into smaller one.
    Signed-off-by: NChao Yu <yuchao0@huawei.com>
    Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
    6ca56ca4
data.c 46.2 KB