question about error case in pnfs

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

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux