It's best to rely on protocol specific error codes rather than system error codes in these cases for sure. I'll make a refactor. On Thu, Mar 6, 2025 at 4:13 PM David Howells <dhowells@xxxxxxxxxx> wrote: > > Venky Shankar <vshankar@xxxxxxxxxx> wrote: > > > > That's a good point, though there is no code on the client that can > > > generate this error, I'm not convinced that this error can't be > > > received from the OSD or the MDS. I would rather some MDS experts > > > chime in, before taking any drastic measures. > > > > The OSDs could possibly return this to the client, so I don't think it > > can be done away with. > > Okay... but then I think ceph has a bug in that you're assuming that the error > codes on the wire are consistent between arches as mentioned with Alex. I > think you need to interject a mapping table. > > David >