From: Fred Isaman Date: Thu, 6 Jan 2011 11:36:32 +0000 (+0000) Subject: pnfs: layout roc code X-Git-Tag: v2.6.38-rc1~407^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7e8917a67980924651a9e244510e63ef05c7755;p=pandora-kernel.git pnfs: layout roc code A layout can request return-on-close. How this interacts with the forgetful model of never sending LAYOUTRETURNS is a bit ambiguous. We forget any layouts marked roc, and wait for them to be completely forgotten before continuing with the close. In addition, to compensate for races with any inflight LAYOUTGETs, and the fact that we do not get any layout stateid back from the server, we set the barrier to the worst case scenario of current_seqid + number of outstanding LAYOUTGETS. Signed-off-by: Fred Isaman Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed