Re: [PATCH v12 2/2] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

2023-07-31 Thread Darrick J. Wong
On Mon, Jul 31, 2023 at 05:36:36PM +0800, Shiyang Ruan wrote: > > > 在 2023/7/29 23:15, Darrick J. Wong 写道: > > On Thu, Jun 29, 2023 at 04:16:51PM +0800, Shiyang Ruan wrote: > > > This patch is inspired by Dan's "mm, dax, pmem: Introduce > > > dev_pagemap_failure()"[1]. With the help of

Re: [PATCH ndctl v2] ndctl/cxl/test: Add CXL event test

2023-07-31 Thread Verma, Vishal L
On Mon, 2023-07-31 at 16:53 -0700, Ira Weiny wrote: > Previously CXL event testing was run by hand.  This reduces testing Reduces or increases / improves? Or did you mean running by hand reduced coverage. Maybe this can read "Improve testing coverage and address a lack of automated regression

[PATCH ndctl v2] ndctl/cxl/test: Add CXL event test

2023-07-31 Thread Ira Weiny
Previously CXL event testing was run by hand. This reduces testing coverage including a lack of regression testing. Add a CXL event test as part of the meson test infrastructure. Passing is predicated on receiving the appropriate number of errors in each log. Individual event values are not

[PATCH V2 1/1] pmem: set QUEUE_FLAG_NOWAIT

2023-07-31 Thread Chaitanya Kulkarni
Set the QUEUE_FLAG_NOWAIT. Following are the performance numbers with io_uring fio engine for random read, note that device has been populated fully with randwrite workload before taking these numbers :- linux-block (pmem-nowait-on) # grep IOPS pmem*fio | column -t pmem-nowait-off-1.fio: read:

[PATCH V2 0/1] pmem: set QUEUE_FLAG_NOWAIT

2023-07-31 Thread Chaitanya Kulkarni
Hi, Set the QUEUE_FLAG_NOWAIT. Following are the performance numbers with io_uring fio engine for random read, note that device has been populated fully with randwrite workload before taking these numbers :- linux-block (pmem-nowait-on) # grep IOPS pmem*fio | column -t pmem-nowait-off-1.fio:

Re: [PATCH ndctl] ndctl/cxl/test: Add CXL event test

2023-07-31 Thread Ira Weiny
Verma, Vishal L wrote: > On Thu, 2023-07-27 at 14:21 -0700, Ira Weiny wrote: > > Previously CXL event testing was run by hand.  This reduces testing > > coverage including a lack of regression testing. > > > > Add a CXL test as part of the meson test infrastructure.  Passing is > > predicated on

Re: [PATCH ndctl] cxl/memdev: initialize 'rc' in action_update_fw()

2023-07-31 Thread Verma, Vishal L
int rc; > +   int rc = 0; >   > if (param.cancel) > return cxl_memdev_cancel_fw_update(memdev); > > --- > base-commit: 32cec0c5cfe669940107ce030beeb1e02e5a767b > change-id: 20230731-coverity-fix-edc28fd6e0fe > > Best regards,

Re: [PATCH ndctl] cxl/memdev: initialize 'rc' in action_update_fw()

2023-07-31 Thread Dave Jiang
); struct json_object *jmemdev; unsigned long flags; - int rc; + int rc = 0; if (param.cancel) return cxl_memdev_cancel_fw_update(memdev); --- base-commit: 32cec0c5cfe669940107ce030beeb1e02e5a767b change-id: 20230731-coverity-fix-edc28fd6e0fe Best

[PATCH ndctl] cxl/memdev: initialize 'rc' in action_update_fw()

2023-07-31 Thread Vishal Verma
; - int rc; + int rc = 0; if (param.cancel) return cxl_memdev_cancel_fw_update(memdev); --- base-commit: 32cec0c5cfe669940107ce030beeb1e02e5a767b change-id: 20230731-coverity-fix-edc28fd6e0fe Best regards, -- Vishal Verma

Re: [PATCH ndctl] ndctl/cxl/test: Add CXL event test

2023-07-31 Thread Verma, Vishal L
On Thu, 2023-07-27 at 14:21 -0700, Ira Weiny wrote: > Previously CXL event testing was run by hand.  This reduces testing > coverage including a lack of regression testing. > > Add a CXL test as part of the meson test infrastructure.  Passing is > predicated on receiving the appropriate number of

Re: [ndctl PATCH RESEND 2/2] libcxl: Fix accessors for temperature field to support negative value

2023-07-31 Thread Verma, Vishal L
On Mon, 2023-07-31 at 12:17 +0900, Jehoon Park wrote: > On Mon, Jul 24, 2023 at 09:08:21PM +, Verma, Vishal L wrote: > > On Mon, 2023-07-17 at 15:29 +0900, Jehoon Park wrote: > > > Add a new macro function to retrieve a signed value such as a temperature. > > > Replace indistinguishable error

[PATCH -next] libnvdimm: remove kernel-doc warnings:

2023-07-31 Thread Zhu Wang
Remove kernel-doc warnings: drivers/nvdimm/badrange.c:271: warning: Function parameter or member 'nd_region' not described in 'nvdimm_badblocks_populate' drivers/nvdimm/badrange.c:271: warning: Function parameter or member 'range' not described in 'nvdimm_badblocks_populate'

Re: [PATCH v12 2/2] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

2023-07-31 Thread Shiyang Ruan
在 2023/7/29 23:15, Darrick J. Wong 写道: On Thu, Jun 29, 2023 at 04:16:51PM +0800, Shiyang Ruan wrote: This patch is inspired by Dan's "mm, dax, pmem: Introduce dev_pagemap_failure()"[1]. With the help of dax_holder and ->notify_failure() mechanism, the pmem driver is able to ask filesystem