]> git.karo-electronics.de Git - mv-sheeva.git/commit
ocfs2_dlmfs: Add capabilities parameter.
authorJoel Becker <joel.becker@oracle.com>
Thu, 4 Feb 2010 23:37:27 +0000 (15:37 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:13 +0000 (15:41 -0800)
commit14a437c2b67aeee2a989a5d9c7e19094355d2fed
tree5fd3961361ed131bc7eb2ceded99ddba9a38449c
parent399ff3a748cf4c8c853e96dd477153202636527b
ocfs2_dlmfs: Add capabilities parameter.

Over time, dlmfs has added some features that were not part of the
initial ABI.  Unfortunately, some of these features are not detectable
via standard usage.  For example, Linux's default poll always returns
POLLIN, so there is no way for a caller of poll(2) to know when dlmfs
added poll support.  Instead, we provide this list of new capabilities.

Capabilities is a read-only attribute.  We do it as a module parameter
so we can discover it whether dlmfs is built in, loaded, or even not
loaded (via modinfo).

The ABI features are local to this machine's dlmfs mount.  This is
distinct from the locking protocol, which is concerned with inter-node
interaction.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlm/dlmfs.c