Re: [PATCH 1/8] xfs: fix error returns from xfs_bmapi_write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 09, 2024 at 04:19:17PM -0700, Darrick J. Wong wrote:
> Hmm.  So I think the answer to my questions earlier is that with the
> series applied, ENOSR should never leak out because bmapi_write calls
> will always do the piece that the caller asked for, right?

Almost.  With the whole series ENOSR goes away again (but then again
I'm a bit skeptical if it opens new unknown cans of worms, see the
cover letter).

With just this patch it will leak to user space if we ever hit a case
where we completely mishandled this error before.  Which we've not
observed, but which isn't entirely impossible.





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux