Re: [dm-devel] [RFC PATCH V2 3/3] dm: support bio polling

2021-06-18 Thread Ming Lei
On Fri, Jun 18, 2021 at 04:56:45PM -0400, Mike Snitzer wrote: > [you really should've changed the subject of this email to > "[RFC PATCH V3 3/3] dm: support bio polling"] > > On Fri, Jun 18 2021 at 10:39P -0400, > Ming Lei wrote: > > > From 47e523b9ee988317369eaadb96826323cd86819e Mon Sep 17

[dm-devel] [PATCH] dm: fix dm_revalidate_zones() memory allocation

2021-06-18 Thread Damien Le Moal
Make sure that the zone write pointer offset array is allocated with a vmalloc in dm_zone_revalidate_cb() by passing GFP_KERNEL gfp flag to kvcalloc(). However, since we do not want to trigger IOs while revalidating zones, change dm_revalidate_zones() to have the zone scan done in GFP_NOIO context

Re: [dm-devel] [RFC PATCH V2 3/3] dm: support bio polling

2021-06-18 Thread Mike Snitzer
[you really should've changed the subject of this email to "[RFC PATCH V3 3/3] dm: support bio polling"] On Fri, Jun 18 2021 at 10:39P -0400, Ming Lei wrote: > From 47e523b9ee988317369eaadb96826323cd86819e Mon Sep 17 00:00:00 2001 > From: Ming Lei > Date: Wed, 16 Jun 2021 16:13:46 +0800 >

Re: [dm-devel] [RFC PATCH V2 3/3] dm: support bio polling

2021-06-18 Thread Ming Lei
>From 47e523b9ee988317369eaadb96826323cd86819e Mon Sep 17 00:00:00 2001 From: Ming Lei Date: Wed, 16 Jun 2021 16:13:46 +0800 Subject: [RFC PATCH V3 3/3] dm: support bio polling Support bio(REQ_POLLED) polling in the following approach: 1) only support io polling on normal READ/WRITE, and other

Re: [dm-devel] [RFC PATCH 4/4] dm: support bio polling

2021-06-18 Thread Christoph Hellwig
On Wed, Jun 16, 2021 at 12:05:13PM -0400, Mike Snitzer wrote: > In general I'm really happy to see polling switch over to using bios, > nice job Christoph! Are you hoping for all this to land in time for > 5.14 merge? Yes, although time is running out. > Once Ming responds to my review inlined

Re: [dm-devel] [RFC PATCH V2 3/3] dm: support bio polling

2021-06-18 Thread Ming Lei
Hello Jeffle, On Fri, Jun 18, 2021 at 04:19:10PM +0800, JeffleXu wrote: > > > On 6/17/21 6:35 PM, Ming Lei wrote: > > Support bio(REQ_POLLED) polling in the following approach: > > > > 1) only support io polling on normal READ/WRITE, and other abnormal IOs > > still fallback on IRQ mode, so

Re: [dm-devel] [bug report] dm: introduce zone append emulation

2021-06-18 Thread Dan Carpenter
On Fri, Jun 18, 2021 at 03:22:03PM +0300, Dan Carpenter wrote: > Hello Damien Le Moal, > > The patch bb37d77239af: "dm: introduce zone append emulation" from > May 26, 2021, leads to the following static checker warning: > > drivers/md/dm-zone.c:207 dm_zone_revalidate_cb() > error:

[dm-devel] [bug report] dm: introduce zone append emulation

2021-06-18 Thread Dan Carpenter
Hello Damien Le Moal, The patch bb37d77239af: "dm: introduce zone append emulation" from May 26, 2021, leads to the following static checker warning: drivers/md/dm-zone.c:207 dm_zone_revalidate_cb() error: kvmalloc() only makes sense with GFP_KERNEL drivers/md/dm-zone.c 179

[dm-devel] Source code for devmapper 1.02.110 & 1.02.137

2021-06-18 Thread Yu-Ling Cheong
Hi, May I get a copy of source code for devmapper 1.02.110 & 1.02.137 to keep as our reference? Thanks Yu Ling -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel

Re: [dm-devel] [PATCH v4 03/10] fs: Introduce ->corrupted_range() for superblock

2021-06-18 Thread ruansy.f...@fujitsu.com
> -Original Message- > From: Dan Williams > Subject: Re: [PATCH v4 03/10] fs: Introduce ->corrupted_range() for superblock > > On Wed, Jun 16, 2021 at 11:51 PM ruansy.f...@fujitsu.com > wrote: > > > > > -Original Message- > > > From: Dan Williams > > > Subject: Re: [PATCH v4

Re: [dm-devel] [PATCH v4 04/10] mm, fsdax: Refactor memory-failure handler for dax mapping

2021-06-18 Thread ruansy.f...@fujitsu.com
> -Original Message- > From: Dan Williams > Subject: Re: [PATCH v4 04/10] mm, fsdax: Refactor memory-failure handler for > dax mapping > > [ drop old nvdimm list, add the new one ] > > On Thu, Jun 3, 2021 at 6:19 PM Shiyang Ruan wrote: > > > > The current memory_failure_dev_pagemap()

Re: [dm-devel] [PATCH 01/18] mm: add a kunmap_local_dirty helper

2021-06-18 Thread Ira Weiny
On Tue, Jun 15, 2021 at 03:24:39PM +0200, Christoph Hellwig wrote: > Add a helper that calls flush_kernel_dcache_page before unmapping the > local mapping. flush_kernel_dcache_page is required for all pages > potentially mapped into userspace that were written to using kmap*, > so having a helper