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. + Greg, Venky, Patrik On Wed, Mar 5, 2025 at 6:34 PM David Howells <dhowells@xxxxxxxxxx> wrote: > > Hi Alex, Slava, > > I'm looking at making a ceph_netfs_write_iter() to handle writing to ceph > files through netfs. One thing I'm wondering about is the way > ceph_write_iter() handles EOLDSNAPC. In this case, it goes back to > retry_snap and renegotiates the caps (amongst other things). Firstly, does it > actually need to do this? And, secondly, I can't seem to find anything that > actually generates EOLDSNAPC (or anything relevant that generates ERESTART). > > Is it possible that we could get rid of the code that handles EOLDSNAPC? > > David >