Home
last modified time | relevance | path

Searched hist:"79963 d967b492876fa17c8c2c2c17b7438683d9b" (Results 1 – 3 of 3) sorted by relevance

/linux/fs/f2fs/
H A Dcompress.cdiff 79963d967b492876fa17c8c2c2c17b7438683d9b Thu Jun 18 08:36:23 CEST 2020 Chao Yu <yuchao0@huawei.com> f2fs: shrink node_write lock coverage

- to avoid race between checkpoint and quota file writeback, it
just needs to hold read lock of node_write in writeback path.
- node_write lock has covered all LFS data write paths, it's not
necessary, we only need to hold node_write lock at write path of
quota file.

This refactors commit ca7f76e68074 ("f2fs: fix wrong discard space").

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
H A Dsegment.cdiff 79963d967b492876fa17c8c2c2c17b7438683d9b Thu Jun 18 08:36:23 CEST 2020 Chao Yu <yuchao0@huawei.com> f2fs: shrink node_write lock coverage

- to avoid race between checkpoint and quota file writeback, it
just needs to hold read lock of node_write in writeback path.
- node_write lock has covered all LFS data write paths, it's not
necessary, we only need to hold node_write lock at write path of
quota file.

This refactors commit ca7f76e68074 ("f2fs: fix wrong discard space").

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
H A Ddata.cdiff 79963d967b492876fa17c8c2c2c17b7438683d9b Thu Jun 18 08:36:23 CEST 2020 Chao Yu <yuchao0@huawei.com> f2fs: shrink node_write lock coverage

- to avoid race between checkpoint and quota file writeback, it
just needs to hold read lock of node_write in writeback path.
- node_write lock has covered all LFS data write paths, it's not
necessary, we only need to hold node_write lock at write path of
quota file.

This refactors commit ca7f76e68074 ("f2fs: fix wrong discard space").

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>