Re: build direct-io.c conditionally

From: Jens Axboe
Date: Thu Jan 26 2023 - 12:31:36 EST



On Wed, 25 Jan 2023 07:58:37 +0100, Christoph Hellwig wrote:
> this series makes the build of direct-io.c conditional as only
> about a dozen file systems actually use it.
>
> Diffstat:
> Kconfig | 4 ++++
> Makefile | 3 ++-
> affs/Kconfig | 1 +
> direct-io.c | 24 ------------------------
> exfat/Kconfig | 1 +
> ext2/Kconfig | 1 +
> fat/Kconfig | 1 +
> hfs/Kconfig | 1 +
> hfsplus/Kconfig | 1 +
> internal.h | 4 +---
> jfs/Kconfig | 1 +
> nilfs2/Kconfig | 1 +
> ntfs3/Kconfig | 1 +
> ocfs2/Kconfig | 1 +
> reiserfs/Kconfig | 1 +
> super.c | 24 ++++++++++++++++++++++++
> udf/Kconfig | 1 +
> 17 files changed, 43 insertions(+), 28 deletions(-)
>
> [...]

Applied, thanks!

[1/2] fs: move sb_init_dio_done_wq out of direct-io.c
commit: 439bc39b3cf0014b1b75075812f7ef0f8baa9674
[2/2] fs: build the legacy direct I/O code conditionally
commit: 9636e650e16f6b01f0044f7662074958c23e4707

Best regards,
--
Jens Axboe