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

2023-02-23 Thread Uday Shankar
On Wed, Feb 22, 2023 at 12:16:02PM -0700, Keith Busch wrote: > 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

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

2023-02-23 Thread Chris Hofstaedtler
* Thomas Glanzmann [230222 14:15]: > 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: >

[dm-devel] [PATCH -next RFC] block: count 'ios' and 'sectors' when io is done for bio-based device

2023-02-23 Thread Yu Kuai
From: Yu Kuai While using iostat for raid, I observed very strange 'await' occasionally, and turns out it's due to that 'ios' and 'sectors' is counted in bdev_start_io_acct(), while 'nsecs' is counted in bdev_end_io_acct(). I'm not sure why they are ccounted like that but I think this behaviour