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.