Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Aaron Tomlin" <atomlin@atomlin.com>
Cc: linux-scsi@vger.kernel.org, virtualization@lists.linux.dev,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Eugenio Perez" <eperezma@redhat.com>
Subject: Re: [PATCH v18 6/9] virtio-fs: honour isolcpus=managed_irq in queue mapping
Date: Mon, 30 Nov 2026 23:22:24 +0000	[thread overview]
Message-ID: <sashiko-outbox-242218@kernel.org> (raw)
In-Reply-To: <20261130230343.377682-1-atomlin@atomlin.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] virtio-fs: missing Fixes trailer for commit df28040c7f24 in
  commit message
--

commit 524a14beaeac0d9e4298f3fd21d32da2204b0069
Author: Aaron Tomlin <atomlin@atomlin.com>

> virtio-fs: honour isolcpus=managed_irq in queue mapping
>
> Since commit df28040c7f24 ("virtio_fs: store actual queue index in
> mq_map"), fs->mq_map is zero-initialised to 0 (VQ_HIPRIO, the
> forget-only virtqueue) while virtio_fs_map_queues() populates entries
> only for CPUs in get_vq_affinity(). When isolcpus=managed_irq restricts
> managed interrupt affinity to housekeeping CPUs, isolated CPUs remain at
> VQ_HIPRIO; requests submitted from them are treated as forget objects by
> virtio_fs_hiprio_done_work() and freed via kfree() without calling
> fuse_request_end(), corrupting slab state and hanging the caller.
>
> Cap fs->num_request_queues to the HK_TYPE_MANAGED_IRQ housekeeping CPU
> count when enabled (or num_possible_cpus() otherwise), use
> group_mask_cpus_evenly() in the software fallback path, and spread any
> unmapped possible CPUs across active request queues so every possible
> CPU maps to a valid VQ_REQUEST queue.
>
> Acked-by: Frederic Weisbecker <frederic@kernel.org>
> Acked-by: Marco Crivellari <marco.crivellari@suse.com>
> Signed-off-by: Aaron Tomlin <atomlin@atomlin.com>

[Severity: Low]
Since this fixes the unmapped CPU queue mapping introduced by commit
df28040c7f24 ("virtio_fs: store actual queue index in mq_map"), should the
commit message include a Fixes tag?

  Fixes: df28040c7f24 ("virtio_fs: store actual queue index in mq_map")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261130212830.373057-1-atomlin@atomlin.com?part=6

  reply	other threads:[~2026-11-30 23:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 21:28 [PATCH v18 0/9] blk: honor isolcpus configuration Aaron Tomlin
2026-11-30 21:28 ` [PATCH v18 1/9] scsi: aacraid: use block layer helpers to calculate num of queues Aaron Tomlin
2026-11-30 21:28 ` [PATCH v18 2/9] lib/group_cpus: remove dead !SMP code Aaron Tomlin
2026-11-30 21:28 ` [PATCH v18 3/9] lib/group_cpus: Add group_mask_cpus_evenly() Aaron Tomlin
2026-11-30 21:28 ` [PATCH v18 4/9] blk-mq: use hk cpus only when isolcpus=managed_irq is enabled Aaron Tomlin
2026-11-30 21:28 ` [PATCH v18 5/9] blk-mq: prevent offlining hk CPUs with associated online isolated CPUs Aaron Tomlin
2026-11-30 23:03 ` [PATCH v18 6/9] virtio-fs: honour isolcpus=managed_irq in queue mapping Aaron Tomlin
2026-11-30 23:22   ` sashiko-bot [this message]
2026-11-30 23:03 ` [PATCH v18 7/9] genirq/affinity: Restrict managed IRQ affinity to housekeeping CPUs Aaron Tomlin
2026-11-30 23:03 ` [PATCH v18 8/9] docs: update isolcpus=managed_irq documentation Aaron Tomlin
2026-11-30 23:03 ` [PATCH v18 9/9] genirq/affinity: Confine pre and post vectors to housekeeping CPUs Aaron Tomlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-242218@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=atomlin@atomlin.com \
    --cc=eperezma@redhat.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=virtualization@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox