]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix to set sbi dirty correctly
authorChao Yu <yuchao0@huawei.com>
Thu, 10 Jan 2019 08:40:12 +0000 (16:40 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 22 Jan 2019 23:31:26 +0000 (15:31 -0800)
commit1b7e9b78270dbc852ba3b308f8ea7e2c59f4f824
treeb5e3ab1c1ca114a46e9e9e0486a7713eb278062f
parent8d777a44aa4388e44afe14d4ee48997f7050dbf8
f2fs: fix to set sbi dirty correctly

In order to record direct IO count, we add two additional type in
enum count_type: F2FS_DIO_{WRITE,READ}, but those IO won't dirty
filesystem metadata, so we don't need to set filesystem dirty in
inc_page_count(), fix it.

Fixes: 4fcc91d16d9d ("f2fs: add to account direct IO")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h