Re: [dm-devel] [PATCH v2 1/3] dm: introduce audit event module for device mapper

2021-08-18 Thread Paul Moore
On Sat, Aug 14, 2021 at 2:34 PM Michael Weiß wrote: > > To be able to send auditing events to user space, we introduce > a generic dm-audit module. It provides helper functions to emit > audit events through the kernel audit subsystem. We claim the > AUDIT_DM type=1336 out of the audit event messa

Re: [dm-devel] [PATCH 3/7] block: copy offload support infrastructure

2021-08-18 Thread Martin K. Petersen
> Native copy offload is not supported for stacked devices. One of the main reasons that the historic attempts at supporting copy offload did not get merged was that the ubiquitous deployment scenario, stacked block devices, was not handled well. Pitfalls surrounding stacking has been brought u

Re: [dm-devel] [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread Dan Williams
On Wed, Aug 18, 2021 at 12:52 AM ruansy.f...@fujitsu.com wrote: > > > > > -Original Message- > > From: Jane Chu > > Subject: Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure() > > > > > > On 8/17/2021 10:43 PM, Jane Chu wrote: > > > More information - > > > > > > On 8/16/2021

Re: [dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-18 Thread Darrick J. Wong
On Wed, Aug 18, 2021 at 09:07:54PM +0530, Nitesh Shetty wrote: > On Wed, Aug 18, 2021 at 5:06 AM Darrick J. Wong wrote: > > > > On Tue, Aug 17, 2021 at 03:44:20PM +0530, SelvaKumar S wrote: > > > From: Nitesh Shetty > > > > > > Add new BLKCOPY ioctl that offloads copying of one or more sources ra

Re: [dm-devel] [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread Darrick J. Wong
On Tue, Aug 17, 2021 at 11:08:40PM -0700, Jane Chu wrote: > > On 8/17/2021 10:43 PM, Jane Chu wrote: > > More information - > > > > On 8/16/2021 10:20 AM, Jane Chu wrote: > > > Hi, ShiYang, > > > > > > So I applied the v6 patch series to my 5.14-rc3 as it's what you > > > indicated is what v6 wa

Re: [dm-devel] [PATCH 4/7] block: Introduce a new ioctl for simple copy

2021-08-18 Thread Nitesh Shetty
On Tue, Aug 17, 2021 at 6:40 PM Greg KH wrote: > > On Tue, Aug 17, 2021 at 03:44:20PM +0530, SelvaKumar S wrote: > > From: Nitesh Shetty > > > > Add new BLKCOPY ioctl that offloads copying of one or more sources ranges > > to a destination in the device. COPY ioctl accepts a 'copy_range' > > stru

Re: [dm-devel] [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread Jane Chu
On 8/17/2021 10:43 PM, Jane Chu wrote: More information - On 8/16/2021 10:20 AM, Jane Chu wrote: Hi, ShiYang, So I applied the v6 patch series to my 5.14-rc3 as it's what you indicated is what v6 was based at, and injected a hardware poison. I'm seeing the same problem that was reported a

Re: [dm-devel] [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread Jane Chu
More information - On 8/16/2021 10:20 AM, Jane Chu wrote: Hi, ShiYang, So I applied the v6 patch series to my 5.14-rc3 as it's what you indicated is what v6 was based at, and injected a hardware poison. I'm seeing the same problem that was reported a while ago after the poison was consumed -

Re: [dm-devel] [PATCH 3/7] block: copy offload support infrastructure

2021-08-18 Thread Douglas Gilbert
On 2021-08-17 4:41 p.m., Mikulas Patocka wrote: On Tue, 17 Aug 2021, Bart Van Assche wrote: On 8/17/21 3:14 AM, SelvaKumar S wrote: Introduce REQ_OP_COPY, a no-merge copy offload operation. Create bio with control information as payload and submit to the device. Larger copy operation may be

Re: [dm-devel] [PATCH 2/7] block: Introduce queue limits for copy-offload support

2021-08-18 Thread Nitesh Shetty
On Tue, Aug 17, 2021 at 6:38 PM Greg KH wrote: > > On Tue, Aug 17, 2021 at 03:44:18PM +0530, SelvaKumar S wrote: > > From: Nitesh Shetty > > > > Add device limits as sysfs entries, > > - copy_offload (READ_WRITE) > > - max_copy_sectors (READ_ONLY) > > - max_copy_ranges_sec

Re: [dm-devel] [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread ruansy.f...@fujitsu.com
> -Original Message- > From: Jane Chu > Subject: Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure() > > > On 8/17/2021 10:43 PM, Jane Chu wrote: > > More information - > > > > On 8/16/2021 10:20 AM, Jane Chu wrote: > >> Hi, ShiYang, > >> > >> So I applied the v6 patch seri