Re: [PATCH 6/6] xfs: adjust datadev sector count to reflect internal rt volumes

Christoph Hellwig <[email protected]>
Newsgroups org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On Tue, Aug 18, 2026 at 11:33:05PM -0700, Christoph Hellwig wrote:
> I still think messing with the kernel buftarg nr_sectors is wrong for
> this.  The kernel view of the buftarg should be correct and just include
> the part of the device that matters.  So I think the right fix in the
> kernel is changing xfs_verify_media to add the internal RT device offset
> before sending the bios.   We might need additional userland fixes,
> but from a quick look I think it should be fine (famous last words)

Btw: happy to look into this myself.  Just waiting if you have a
reproducer before I go off an create my own.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.