From: Fred Isaman Date: Thu, 6 Jan 2011 11:36:25 +0000 (+0000) Subject: pnfs: serialize LAYOUTGET(openstateid) X-Git-Tag: v2.6.38-rc1~407^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf7d63f1f9895713551df2e6d18b006f8af26e91;p=pandora-kernel.git pnfs: serialize LAYOUTGET(openstateid) We shouldn't send a LAYOUTGET(openstateid) unless all outstanding RPCs using the previous stateid are completed. This requires choosing the stateid to encode earlier, so we can abort if one is not available (we want to use the open stateid, but a LAYOUTGET is already out using it), and adding a count of the number of outstanding rpc calls using layout state (which for now consist solely of LAYOUTGETs). Signed-off-by: Fred Isaman Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed