summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-11-13 18:06:28 +0100
committerChristian Brauner <brauner@kernel.org>2025-11-25 10:22:18 +0100
commit29086a31b3abc662d0571ed6a938937ec1e1ec0a (patch)
tree051d17550e5b024c00fec47d454f29f0f64efab5 /scripts/lib/kdoc/kdoc_re.py
parentddb4873286e03e193c5a3bebb5fc6fa820e9ee3a (diff)
iomap: rework REQ_FUA selection
The way how iomap_dio_can_use_fua and the caller is structured is a bit confusing, as the main guarding condition is hidden in the helper, and the secondary conditions are split between caller and callee. Refactor the code, so that iomap_dio_bio_iter itself tracks if a write might need metadata updates based on the iomap type and flags, and then have a condition based on that to use the FUA flag. Note that this also moves the REQ_OP_WRITE assignment to the end of the branch to improve readability a bit. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://patch.msgid.link/20251113170633.1453259-4-hch@lst.de Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions