All of lore.kernel.org
 help / color / mirror / Atom feed
* question about error case in pnfs
@ 2017-03-08 21:52 Olga Kornievskaia
  2017-03-10 21:37 ` [PATCH 1/1] PNFS dont retry some error when MDS=DS Olga Kornievskaia
  0 siblings, 1 reply; 9+ messages in thread
From: Olga Kornievskaia @ 2017-03-08 21:52 UTC (permalink / raw)
  To: linux-nfs

Hi folks,

Currently there is an infinite loop in the pnfs code when it gets an
error on doing COMMIT after doing the IO. Looking at the code
filelayout_commit_done_cb() it will translate that into
ERR_RESET_TO_MDS and retry. In my test case, MDS and DS are the same.
It resends, sends COMMIT and gets EACCES and in the infinite loop it
goes.  At the connectathon, going against Tigran's server, the retries
didn't go to MDS and went to the same DS (let's set the issue of going
to the wrong server aside).

In a non-pnfs case, when COMMIT gets EACCES it fails and doesn't retry
any writing and application gets "Permission denied".

Question: why is pnfs retrying to MDS?

Is the solution to the looping problem:
1. not retry as in non-pnfs case.
2. detect that DS=MDS and then not retry?

Thanks.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-03-15 20:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-08 21:52 question about error case in pnfs Olga Kornievskaia
2017-03-10 21:37 ` [PATCH 1/1] PNFS dont retry some error when MDS=DS Olga Kornievskaia
2017-03-11 15:46   ` Trond Myklebust
2017-03-12 18:40     ` Olga Kornievskaia
2017-03-12 21:00       ` Trond Myklebust
2017-03-13 14:42         ` Olga Kornievskaia
2017-03-15 15:08           ` Olga Kornievskaia
2017-03-15 16:32             ` [PATCH v2 " Olga Kornievskaia
2017-03-15 20:02               ` [PATCH v3 " Olga Kornievskaia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.