From mboxrd@z Thu Jan 1 00:00:00 1970
From: Pankaj Raghav
Date: Wed, 26 Apr 2023 15:00:33 +0200
Subject: [Cluster-devel] [f2fs-dev] [PATCH 16/17] block: use iomap for
writes to block devices
In-Reply-To: <20230424054926.26927-17-hch@lst.de>
References: <20230424054926.26927-1-hch@lst.de>
<20230424054926.26927-17-hch@lst.de>
Message-ID: <20230426130033.ps363bz472jwlgl6@localhost>
List-Id:
To: cluster-devel.redhat.com
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
On Mon, Apr 24, 2023 at 07:49:25AM +0200, Christoph Hellwig wrote:
> Use iomap in buffer_head compat mode to write to block devices.
>
> Signed-off-by: Christoph Hellwig
> ---
> block/Kconfig | 1 +
> block/fops.c | 33 +++++++++++++++++++++++++++++----
> 2 files changed, 30 insertions(+), 4 deletions(-)
>
> diff --git a/block/Kconfig b/block/Kconfig
> index 941b2dca70db73..672b08f0096ab4 100644
> --- a/block/Kconfig
> +++ b/block/Kconfig
> @@ -5,6 +5,7 @@
> menuconfig BLOCK
> bool "Enable the block layer" if EXPERT
> default y
> + select IOMAP
This needs to be FS_IOMAP.
> select SBITMAP
> help
> Provide block layer support for the kernel.