Commit 14a19fa5 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet
Browse files

docs: filesystems: convert dlmfs.txt to ReST



- Add a SPDX header;
- Use copyright symbol;
- Adjust document title;
- Some whitespace fixes and new line breaks;
- Mark literal blocks as such;
- Add table markups;
- Add it to filesystems/index.rst.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/efc9e59925723e17d1a4741b11049616c221463e.1581955849.git.mchehab+huawei@kernel.org


Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 57443789
Loading
Loading
Loading
Loading
+19 −9
Original line number Original line Diff line number Diff line
dlmfs
.. SPDX-License-Identifier: GPL-2.0
==================
.. include:: <isonum.txt>

=====
DLMFS
=====

A minimal DLM userspace interface implemented via a virtual file
A minimal DLM userspace interface implemented via a virtual file
system.
system.


dlmfs is built with OCFS2 as it requires most of its infrastructure.
dlmfs is built with OCFS2 as it requires most of its infrastructure.


Project web page:    http://ocfs2.wiki.kernel.org
:Project web page:    http://ocfs2.wiki.kernel.org
Tools web page:      https://github.com/markfasheh/ocfs2-tools
:Tools web page:      https://github.com/markfasheh/ocfs2-tools
OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/
:OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/


All code copyright 2005 Oracle except when otherwise noted.
All code copyright 2005 Oracle except when otherwise noted.


CREDITS
Credits
=======
=======


Some code taken from ramfs which is Copyright (C) 2000 Linus Torvalds
Some code taken from ramfs which is Copyright |copy| 2000 Linus Torvalds
and Transmeta Corp.
and Transmeta Corp.


Mark Fasheh <mark.fasheh@oracle.com>
Mark Fasheh <mark.fasheh@oracle.com>
@@ -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
open(2) with O_CREAT to ensure the resource inode is created - dlmfs does
not automatically create inodes for existing lock resources.
not automatically create inodes for existing lock resources.


============  ===========================
Open Flag     Lock Request Type
Open Flag     Lock Request Type
---------     -----------------
============  ===========================
O_RDONLY      Shared Read
O_RDONLY      Shared Read
O_RDWR        Exclusive
O_RDWR        Exclusive
============  ===========================



============  ===========================
Open Flag     Resulting Locking Behavior
Open Flag     Resulting Locking Behavior
---------     --------------------------
============  ===========================
O_NONBLOCK    Trylock operation
O_NONBLOCK    Trylock operation
============  ===========================


You must provide exactly one of O_RDONLY or O_RDWR.
You must provide exactly one of O_RDONLY or O_RDWR.


+1 −0
Original line number Original line Diff line number Diff line
@@ -58,6 +58,7 @@ Documentation for filesystem implementations.
   ceph
   ceph
   cramfs
   cramfs
   debugfs
   debugfs
   dlmfs
   fuse
   fuse
   overlayfs
   overlayfs
   virtiofs
   virtiofs