Re: [RFC v3 2/2] pmem: enable pmem_submit_bio for asynchronous flush

2022-02-16 Thread Pankaj Gupta
> > > > Return from "pmem_submit_bio" when asynchronous flush is > > > > still in progress in other context. > > > > > > > > Signed-off-by: Pankaj Gupta > > > > --- > > > > drivers/nvdimm/pmem.c| 15 --- > > > > drivers/nvdimm/region_devs.c | 4 +++- > > > > 2 files changed,

Re: [RFC v3 2/2] pmem: enable pmem_submit_bio for asynchronous flush

2022-02-16 Thread Dan Williams
On Wed, Feb 16, 2022 at 12:39 AM Pankaj Gupta wrote: > > > > > > > Return from "pmem_submit_bio" when asynchronous flush is > > > still in progress in other context. > > > > > > Signed-off-by: Pankaj Gupta > > > --- > > > drivers/nvdimm/pmem.c| 15 --- > > >

Re: [RFC v3 2/2] pmem: enable pmem_submit_bio for asynchronous flush

2022-02-16 Thread Pankaj Gupta
> > > > Return from "pmem_submit_bio" when asynchronous flush is > > still in progress in other context. > > > > Signed-off-by: Pankaj Gupta > > --- > > drivers/nvdimm/pmem.c| 15 --- > > drivers/nvdimm/region_devs.c | 4 +++- > > 2 files changed, 15 insertions(+), 4

Re: [RFC v3 2/2] pmem: enable pmem_submit_bio for asynchronous flush

2022-02-15 Thread Dan Williams
On Tue, Jan 11, 2022 at 8:21 AM Pankaj Gupta wrote: > > Return from "pmem_submit_bio" when asynchronous flush is > still in progress in other context. > > Signed-off-by: Pankaj Gupta > --- > drivers/nvdimm/pmem.c| 15 --- > drivers/nvdimm/region_devs.c | 4 +++- > 2 files

[RFC v3 2/2] pmem: enable pmem_submit_bio for asynchronous flush

2022-01-11 Thread Pankaj Gupta
Return from "pmem_submit_bio" when asynchronous flush is still in progress in other context. Signed-off-by: Pankaj Gupta --- drivers/nvdimm/pmem.c| 15 --- drivers/nvdimm/region_devs.c | 4 +++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git