From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mauro Carvalho Chehab Date: Tue, 18 Feb 2020 11:07:31 +0100 Subject: [Ocfs2-devel] [PATCH 12/44] docs: filesystems: convert dlmfs.txt to ReST In-Reply-To: <3b40d7d4-3798-08db-220d-b45704ada48a@linux.alibaba.com> References: <3b40d7d4-3798-08db-220d-b45704ada48a@linux.alibaba.com> Message-ID: <20200218110731.2890658d@kernel.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Joseph Qi Cc: Linux Doc Mailing List , Jonathan Corbet , linux-fsdevel@vger.kernel.org, Mark Fasheh , Joel Becker , ocfs2-devel@oss.oracle.com Em Tue, 18 Feb 2020 09:21:51 +0800 Joseph Qi escreveu: > On 20/2/18 00:11, Mauro Carvalho Chehab wrote: > > @@ -96,14 +101,19 @@ operation. If the lock succeeds, you'll get an fd. > > open(2) with O_CREAT to ensure the resource inode is created - dlmfs does > > not automatically create inodes for existing lock resources. > > > > +============ =========================== > > Open Flag Lock Request Type > > ---------- ----------------- > > Better to remove the above line. > > > +============ =========================== > > O_RDONLY Shared Read > > O_RDWR Exclusive > > +============ =========================== > > > > + > > +============ =========================== > > Open Flag Resulting Locking Behavior > > ---------- -------------------------- > > Ditto. Ok. So, I guess we can just merge the two tables into one, like: ============ ================= O_RDONLY Shared Read O_RDWR Exclusive O_NONBLOCK Trylock operation ============ ================= Right? Cheers, Mauro