[dm-devel] [PATCH] dm-crypt: reexport sysfs of kcryptd workqueue

2023-02-22 Thread yangerkun
From: yangerkun 'a2b8b2d97567 ("dm crypt: export sysfs of kcryptd workqueue")' give us idea to set specific CPU or limit max_active crypt work. However sysfs will report a warnning and fail 'cryptsetup refresh test' since the reload will alloc workqueue with same sysfs name, and we temporarily re

Re: [dm-devel] [PATCH v7 2/8] block: Add copy offload support infrastructure

2023-02-22 Thread Nitesh Shetty
On Wed, Feb 22, 2023 at 08:58:28AM +0900, Minwoo Im wrote: > > +/* > > + * @bdev_in: source block device > > + * @pos_in:source offset > > + * @bdev_out: destination block device > > + * @pos_out: destination offset > > @len is missing here. > acked > > + * @end_io:

[dm-devel] [PATCH] dm-crypt: fix softlockup in dmcrypt_write

2023-02-22 Thread yangerkun
From: yangerkun We meet a softlockup: localhost login: [ 3391.153255][ C12] watchdog: BUG: soft lockup - CPU#12 stuck for 23s! [dmcrypt_write/2:2897] ... [ 3391.258372][ C12] CPU: 12 PID: 2897 Comm: dmcrypt_write/2 Tainted: G L5.10.0+ #8 [ 3391.267288][ C12] Hardware name

Re: [dm-devel] [git pull] device mapper changes for 6.3

2023-02-22 Thread pr-tracker-bot
The pull request you sent on Mon, 20 Feb 2023 12:31:36 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git > tags/for-6.3/dm-changes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f0b2769a0185ccf84842a795b5587afc37274c3d Thank you! --

Re: [dm-devel] [git pull] device mapper changes for 6.3

2023-02-22 Thread Linus Torvalds
On Mon, Feb 20, 2023 at 9:31 AM Mike Snitzer wrote: > > - Fix all of DM's checkpatch errors and warnings (famous last words). Actually, I think some of these are potentially actively detrimental. I do *not* believe that we should run checkpatch on existing code, since many of those things are he

Re: [dm-devel] [PATCH v2] blk-mq: enforce op-specific segment limits in blk_insert_cloned_request

2023-02-22 Thread Keith Busch
On Wed, Feb 22, 2023 at 11:52:25AM -0700, Uday Shankar wrote: > static inline unsigned int blk_rq_get_max_segments(struct request *rq) > { > - if (req_op(rq) == REQ_OP_DISCARD) > - return queue_max_discard_segments(rq->q); > - return queue_max_segments(rq->q); > + return b

[dm-devel] [PATCH v2] blk-mq: enforce op-specific segment limits in blk_insert_cloned_request

2023-02-22 Thread Uday Shankar
The block layer might merge together discard requests up until the max_discard_segments limit is hit, but blk_insert_cloned_request checks the segment count against max_segments regardless of the req op. This can result in errors like the following when discards are issued through a DM device and m

[dm-devel] NetAPP AFF A220 - Debian - multipathing setup

2023-02-22 Thread Thomas Glanzmann
Hello, I have Debian bullseye connected to an AFF A220 NetApp iSCSI target with ALUA enabled. I see two paths, however multipathd doesn't seem to configure a multipath device for the two paths. Find the output of the following commands here: dpkg -l lsblk sg_rtpg -vvd /dev/sde /lib/udev/scsi_id -g