Re: [PATCHv2 2/6] block: report the actual status

Keith Busch <[email protected]>
Newsgroups dev.linux.lists.dm-devel,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel
Message-ID <ajqfb2qfBE7GbU1H@kbusch-mbp>
On Tue, Jun 23, 2026 at 04:55:11PM +0200, Christoph Hellwig wrote:
> On Mon, Jun 22, 2026 at 10:42:37AM -0700, Keith Busch wrote:
> > From: Keith Busch <[email protected]>
> > 
> > Rather than assume EIO, set the actual reported status for user space
> > informational purposes.
> 
> Where "informational purposes" primarily mean not dropping the EINVAL
> for incorrect alignment, right?  

It could be any possible error, but for the practical purposes of this
series, yes, EINVAL is the status I need forwarded. But EFAULT was also
always a real possibility that wouldn't have been reported.
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.