]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libxfs: make platform_set_blocksize optional with directio
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Sep 2023 21:59:10 +0000 (14:59 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 5 Oct 2023 12:57:19 +0000 (14:57 +0200)
commit244199cd9ae1d136cec985885e4c336145e74a26
tree139790561d9b3f643e9919f819da205baac7ce4f
parent1e8897d53374026aa4fc76e7d70d73bac85fe668
libxfs: make platform_set_blocksize optional with directio

If we're accessing the block device with directio (and hence bypassing
the page cache), then don't fail on BLKBSZSET not working.  We don't
care what happens to the pagecache bufferheads.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/init.c