<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.old.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Architecture_-_External_File_Locking</id>
	<title>Architecture - External File Locking - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.old.lustre.org/index.php?action=history&amp;feed=atom&amp;title=Architecture_-_External_File_Locking"/>
	<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;action=history"/>
	<updated>2026-04-21T10:01:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=10575&amp;oldid=prev</id>
		<title>Docadmin at 21:09, 22 January 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=10575&amp;oldid=prev"/>
		<updated>2010-01-22T21:09:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:09, 22 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Definitions ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Definitions ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=10488&amp;oldid=prev</id>
		<title>Docadmin: Protected &quot;Architecture - External File Locking&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=10488&amp;oldid=prev"/>
		<updated>2010-01-21T19:33:24Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=Architecture_-_External_File_Locking&quot; title=&quot;Architecture - External File Locking&quot;&gt;Architecture - External File Locking&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:33, 21 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=10121&amp;oldid=prev</id>
		<title>Docadmin: /* Definitions */</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=10121&amp;oldid=prev"/>
		<updated>2010-01-18T23:57:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Definitions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:57, 18 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;Note:&#039;&#039;&#039;&#039;&#039; The content on this page reflects the state of design of a Lustre feature at a particular point in time and may contain outdated information. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Definitions ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Definitions ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=9893&amp;oldid=prev</id>
		<title>Docadmin: /* References */</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=9893&amp;oldid=prev"/>
		<updated>2010-01-14T22:11:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;References&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:11, 14 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l129&quot;&gt;Line 129:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 129:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* flock recovery as [https://bugzilla.lustre.org/show_bug.cgi?id=11880 bug 11880]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* flock recovery as [https://bugzilla.lustre.org/show_bug.cgi?id=11880 bug 11880]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* flock and MPI-IO issues as [https://bugzilla.lustre.org/show_bug.cgi?id=11660 bug 11660]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* flock and MPI-IO issues as [https://bugzilla.lustre.org/show_bug.cgi?id=11660 bug 11660]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Architecture|External File Locking]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:QAS|External File Locking]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=9836&amp;oldid=prev</id>
		<title>Docadmin: moved External File Locking to Architecture - External File Locking</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=9836&amp;oldid=prev"/>
		<updated>2010-01-14T21:20:45Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php?title=External_File_Locking&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;External File Locking (page does not exist)&quot;&gt;External File Locking&lt;/a&gt; to &lt;a href=&quot;/index.php?title=Architecture_-_External_File_Locking&quot; title=&quot;Architecture - External File Locking&quot;&gt;Architecture - External File Locking&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:20, 14 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=9738&amp;oldid=prev</id>
		<title>Docadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=9738&amp;oldid=prev"/>
		<updated>2010-01-14T21:01:06Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:01, 14 January 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docadmin</name></author>
	</entry>
	<entry>
		<id>http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=9737&amp;oldid=prev</id>
		<title>Nikita: update categories to match (changed) page title.</title>
		<link rel="alternate" type="text/html" href="http://wiki.old.lustre.org/index.php?title=Architecture_-_External_File_Locking&amp;diff=9737&amp;oldid=prev"/>
		<updated>2007-08-14T10:21:26Z</updated>

		<summary type="html">&lt;p&gt;update categories to match (changed) page title.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Definitions ==&lt;br /&gt;
&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;POSIX file lock&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;lockf lock&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;fcntl lock&amp;#039;&amp;#039;&amp;#039; : file range lock obtained through one of file range locking interfaces prescribed by POSIX and based on SysV [http://www.opengroup.org/onlinepubs/000095399/functions/lockf.html lockf()] and [http://www.opengroup.org/onlinepubs/000095399/functions/fcntl.html fcntl()] interfaces.&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;flock lock&amp;#039;&amp;#039;&amp;#039; : whole-file lock obtained through BSD [http://man.cx/flock(2) flock] interface.&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;group lock&amp;#039;&amp;#039;&amp;#039; : whole-file lock obtained through Lustre-specific &amp;#039;&amp;#039;&amp;#039;LL_IOC_GROUP_LOCK&amp;#039;&amp;#039;&amp;#039; ioctl().&lt;br /&gt;
; &amp;#039;&amp;#039;&amp;#039;file lock&amp;#039;&amp;#039;&amp;#039; : either of above locks.&lt;br /&gt;
&lt;br /&gt;
== Use Cases ==&lt;br /&gt;
&lt;br /&gt;
{| border=1 cellspacing=0&lt;br /&gt;
|-&lt;br /&gt;
!id !! quality attribute !! summary&lt;br /&gt;
|-&lt;br /&gt;
|posix-and-flock || usability || Both POSIX and flock locking is supported.&lt;br /&gt;
|-&lt;br /&gt;
|EDEADLK || usability, availability || Faithful dead-lock detection.&lt;br /&gt;
|-&lt;br /&gt;
|lock-recovery || availability || The cluster on which migrations are active suffers a failure. File locks are recovered properly.&lt;br /&gt;
|-&lt;br /&gt;
|scalability || usability, performance || No service degradation in case of very wide striping and file lock contention.&lt;br /&gt;
|-&lt;br /&gt;
|unit-tests || testability || Unit tests for flock usage and dead-lock detection.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== posix-and-flock ===&lt;br /&gt;
&lt;br /&gt;
{|border=1  cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; || Both POSIX and flock locks are being taken over overlapping regions of the same file.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Business Goals:&amp;#039;&amp;#039;&amp;#039; || Avoid interaction between different locking interfaces.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Relevant QA&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;|| Usability&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; writing-mode=&amp;quot;vertical&amp;quot;|&amp;#039;&amp;#039;&amp;#039;details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stimulus:&amp;#039;&amp;#039;&amp;#039;|| Two threads on the same client or threads from different clients obtain flock and lockf locks on the overlapping regions of the same file.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Stimulus source:&amp;#039;&amp;#039;&amp;#039;|| User applications.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Environment:&amp;#039;&amp;#039;&amp;#039;|| File being locked.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Artifact:&amp;#039;&amp;#039;&amp;#039;|| Overlapping locks of different flavours.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response:&amp;#039;&amp;#039;&amp;#039;|| No interaction between locks.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response measure:&amp;#039;&amp;#039;&amp;#039;|| Clients do not block or dead-lock on such locks.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Questions:&amp;#039;&amp;#039;&amp;#039;|| This is traditional Linux behaviour. Do we want to reproduce it?&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Issues:&amp;#039;&amp;#039;&amp;#039;|| None.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== -EDEADLK ===&lt;br /&gt;
&lt;br /&gt;
{|border=1  cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; || Client places blocking file lock request on server that would result in dead-lock if processed.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Business Goals:&amp;#039;&amp;#039;&amp;#039; || Avoid dead-locks.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Relevant QA&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;|| Usability &amp;amp; Availability&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; writing-mode=&amp;quot;vertical&amp;quot;|&amp;#039;&amp;#039;&amp;#039;details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stimulus:&amp;#039;&amp;#039;&amp;#039;|| Client tries to acquire lock, resulting in possible dead-lock.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Stimulus source:&amp;#039;&amp;#039;&amp;#039;|| User applications.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Environment:&amp;#039;&amp;#039;&amp;#039;|| Locks.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Artifact:&amp;#039;&amp;#039;&amp;#039;|| Waiting cycle among locks.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response:&amp;#039;&amp;#039;&amp;#039;|| Dead-lock is detected.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response measure:&amp;#039;&amp;#039;&amp;#039;|| Lock request is denied with -EDEADLK error.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Questions:&amp;#039;&amp;#039;&amp;#039;|| How precise dead-lock detection has to be, i.e., is server permitted to return -EDEADLK sporadically when no actual dead-lock is possible? How sound dead-lock detection has to be, i.e., is server permitted to occasionally miss dead-lock?&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Issues:&amp;#039;&amp;#039;&amp;#039;|| Precise and sound dead-lock detection can be quite intricate. In addition, it basically mandates keeping track of all file locks in a single place within cluster, which conflicts with scalability requirement.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== recovery ===&lt;br /&gt;
&lt;br /&gt;
TBD.&lt;br /&gt;
&lt;br /&gt;
=== scalability ===&lt;br /&gt;
&lt;br /&gt;
{|border=1  cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Scenario:&amp;#039;&amp;#039;&amp;#039; || Large number of locks is created. Locks are contended by clients.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Business Goals:&amp;#039;&amp;#039;&amp;#039; || Ascertain graceful service degradation.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot; &lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Relevant QA&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;|| Usability &amp;amp; Performance&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;6&amp;quot; writing-mode=&amp;quot;vertical&amp;quot;|&amp;#039;&amp;#039;&amp;#039;details&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stimulus:&amp;#039;&amp;#039;&amp;#039;|| Clients obtains large number of locks, and place large number of lock requests waiting to be granted.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Stimulus source:&amp;#039;&amp;#039;&amp;#039;|| User applications.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Environment:&amp;#039;&amp;#039;&amp;#039;|| Servers handling locks.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Artifact:&amp;#039;&amp;#039;&amp;#039;|| Large number of locks and lock requests.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response:&amp;#039;&amp;#039;&amp;#039;|| Algorithms handle this situation gracefully.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Response measure:&amp;#039;&amp;#039;&amp;#039;|| No server overload.&lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Questions:&amp;#039;&amp;#039;&amp;#039;|| &lt;br /&gt;
|-align=&amp;quot;left&amp;quot;&lt;br /&gt;
|colspan=2|&amp;#039;&amp;#039;&amp;#039;Issues:&amp;#039;&amp;#039;&amp;#039;|| Conflicts with dead-lock detection somewhat.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Implementation constraints ==&lt;br /&gt;
&lt;br /&gt;
Use DLM to implement flock.&lt;br /&gt;
&lt;br /&gt;
== Questions and Issues ==&lt;br /&gt;
&lt;br /&gt;
* any special handling for liblustre?&lt;br /&gt;
* do we want file locks to be kept on LRU list by clients?&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* Implementation as [https://bugzilla.lustre.org/show_bug.cgi?id=5506 bug 5506]&lt;br /&gt;
* flock recovery as [https://bugzilla.lustre.org/show_bug.cgi?id=11880 bug 11880]&lt;br /&gt;
* flock and MPI-IO issues as [https://bugzilla.lustre.org/show_bug.cgi?id=11660 bug 11660]&lt;br /&gt;
&lt;br /&gt;
[[Category:Architecture|External File Locking]]&lt;br /&gt;
[[Category:QAS|External File Locking]]&lt;/div&gt;</summary>
		<author><name>Nikita</name></author>
	</entry>
</feed>