From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Williams Date: Mon, 6 Jul 2009 12:20:09 -0500 Subject: [Lustre-devel] Recovering opens by reconstruction In-Reply-To: <20090702223944.GR15302@Sun.COM> References: <20090702223944.GR15302@Sun.COM> Message-ID: <20090706172009.GK15302@Sun.COM> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lustre-devel@lists.lustre.org Note too that recovering opens by reconstruction and before outstanding transactions commits us to always use capabilities. The reason is that an open might not be permitted prior to replaying, say, a chmod, but with capabilities the open would be permitted because of the capability issued earlier, before the MDS restarted. If we want an option to disable capabilities, then we should recover opens in order at RPC replay time, but the opens should still not be replays (unless O_CREAT is involved and that transaction hasn't committed). Nico --