HomeFreeBSD

Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev()

Description

Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev()

In Linux commit 560e20e4bf6484a0c12f9f3c7a1aa55056948e1e, the
fsync_bdev() function was removed in favor of sync_blockdev() to do
(roughly) the same thing, given the same input. This change
conditionally attempts to call sync_blockdev() if fsync_bdev() isn't
discovered during configure.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #15263
(cherry picked from commit 3f67e012e4507527f9d8aae6c93efbe5660556d3)

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Sep 15 2023, 5:07 AM
Tony Hutter <hutter2@llnl.gov>Committed on Feb 8 2024, 9:29 PM
Parents
rGb8bf99cca91e: Linux 6.6 compat: generic_fillattr has a new u32 request_mask added at arg2
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGe68922faaa31: Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev() (authored by Coleman Kane <ckane@colemankane.org>).Feb 8 2024, 9:29 PM