Re: [Cluster-devel] [PATCH 16/17] block: use iomap for writes to block devices

2023-07-20 Thread Hannes Reinecke
On 7/20/23 14:06, Christoph Hellwig wrote: On Fri, May 19, 2023 at 04:22:01PM +0200, Hannes Reinecke wrote: I'm hitting this during booting: [5.016324] [5.030256] iomap_iter+0x11a/0x350 [5.030264] iomap_readahead+0x1eb/0x2c0 [5.030272] read_pages+0x5d/0x220 [5.030279]

Re: [Cluster-devel] [PATCH 16/17] block: use iomap for writes to block devices

2023-07-20 Thread Christoph Hellwig
On Wed, May 24, 2023 at 02:33:13PM +0100, Matthew Wilcox wrote: > As you can see, do_page_cache_ra() does limit readahead to i_size. > Is ractl->mapping->host the correct way to find the inode? I always > get confused. As far as I can tell it is the right inode, the indirection through

Re: [Cluster-devel] [PATCH 16/17] block: use iomap for writes to block devices

2023-07-20 Thread Christoph Hellwig
On Fri, May 19, 2023 at 04:22:01PM +0200, Hannes Reinecke wrote: > I'm hitting this during booting: > [5.016324] > [5.030256] iomap_iter+0x11a/0x350 > [5.030264] iomap_readahead+0x1eb/0x2c0 > [5.030272] read_pages+0x5d/0x220 > [5.030279]

Re: [Cluster-devel] [PATCH 16/17] block: use iomap for writes to block devices

2023-05-24 Thread Matthew Wilcox
On Wed, May 24, 2023 at 08:27:13AM +1000, Dave Chinner wrote: > On Fri, May 19, 2023 at 04:22:01PM +0200, Hannes Reinecke wrote: > > I'm hitting this during booting: > > [5.016324] > > [5.030256] iomap_iter+0x11a/0x350 > > [5.030264] iomap_readahead+0x1eb/0x2c0 > > [5.030272]

Re: [Cluster-devel] [PATCH 16/17] block: use iomap for writes to block devices

2023-05-23 Thread Dave Chinner
On Fri, May 19, 2023 at 04:22:01PM +0200, Hannes Reinecke wrote: > On 4/24/23 07:49, 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

Re: [Cluster-devel] [PATCH 16/17] block: use iomap for writes to block devices

2023-05-19 Thread Hannes Reinecke
On 4/24/23 07:49, 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

[Cluster-devel] [PATCH 16/17] block: use iomap for writes to block devices

2023-04-24 Thread Christoph Hellwig
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