diff options
| author | Zhang Yi <yi.zhang@huawei.com> | 2026-07-14 16:23:25 +0800 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-23 11:26:28 +0200 |
| commit | 09b53b0787ee80b71b1dcceb99d004a33e55b823 (patch) | |
| tree | e4233923b05def6cbf12a4277988a163032895ff /rust/zerocopy-derive/git@git.tavy.me:linux.git | |
| parent | 9c7d8f7c8994c790fca501dc45ce66e7356cbe05 (diff) | |
iomap: add comments for ifs_clear/set_range_dirty()
The range alignment strategy differs between ifs_clear_range_dirty() and
ifs_set_range_dirty(). The former rounds inwards to clear only
fully-covered blocks, while the latter rounds outwards to mark any
partially-touched block as dirty. Add comments to document this
asymmetry in block range calculation.
Suggested-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20260714082325.325163-6-yi.zhang@huaweicloud.com
Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'rust/zerocopy-derive/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
