Whamcloud - gitweb
LU-16695 llite: remove O_APPEND check for sync 28/54128/2
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 21 Feb 2024 20:00:14 +0000 (15:00 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Mar 2024 03:24:27 +0000 (03:24 +0000)
commit53f1c60bb72adc9d1e6980009a4bd3b2a61cc329
treed893c5429d7f820e4aaa643078e2328349f9a8b2
parent65e0802f2ada98f802d01b5672bb9349ad0dde8c
LU-16695 llite: remove O_APPEND check for sync

A check for O_APPEND in determining 'sync' or not was
accidentally introduced.  This forces O_APPEND writes to
all be synchronous, which is of course wrong.

Fixes: dad7079dfd  ("LU-16695 llite: switch to ki_flags from f_flags")
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Iafae63ebda527834bd45d6fcbfb0cebb0340f4e4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54128
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/file.c