* [PATCH] ceph: fix and update the mount options
@ 2020-02-14 6:49 xiubli
0 siblings, 0 replies; only message in thread
From: xiubli @ 2020-02-14 6:49 UTC (permalink / raw)
To: jlayton, idryomov
Cc: sage, zyan, pdonnell, corbet, linux-doc, ceph-devel, Xiubo Li
From: Xiubo Li <firstname.lastname@example.org>
For the quotadf option, acutally the default is enabled. At the
same time this will add all the other mount options with the detail
Signed-off-by: Xiubo Li <email@example.com>
Documentation/filesystems/ceph.txt | 191 +++++++++++++++++++++++++----
1 file changed, 169 insertions(+), 22 deletions(-)
diff --git a/Documentation/filesystems/ceph.txt b/Documentation/filesystems/ceph.txt
index 92ffc9b3b018..e446f5975e8d 100644
@@ -102,6 +102,86 @@ Mount Options
specified, the client's IP address is determined by looking at the
address its connection to the monitor originates from.
+ Specify the cluster's FSID/UUID.
+ RADOS user to authenticate as when using CephX. Default: guest
+ Specify the secret key for use with CephX. This option is insecure
+ because it exposes the secret on the command line. To avoid this,
+ use the secretfile option.
+ Get secret key from the kernel keys api. More detail please see
+ The interval for sending the keepalive (tag + timestamp) to its OSD
+ to ensure any communications channel reset is detected. Default: 5
+ The ttl for the osds in the lru list, will close and remove those
+ have not been used for more than a specified time. Default: 60
+ Specify the timeout value for mount (in seconds), in the case of
+ a non-responsive Ceph file system. Default: 60 seconds.
+ Specify the timeout value for each osd request (in seconds), in
+ the case of non-responsive and will abort it. Default: 0 seconds,
+ means no timeout.
+ Share the client instance with other superblocks when mounting the
+ same cluster. This is the default.
+ Create a new client instance, instead of sharing an existing instance
+ of a client mounting the same cluster.
+ Use CRC32C calculation for data writes. This is the default.
+ Disable CRC32C calculation for data writes. If set, the storage node
+ must rely on TCP's error correction to detect data corruption
+ in the data payload.
+ Enable require cephx message signing feat. This is the default.
+ Disable require cephx message signing feat.
+ Enable message signing. This is the default.
+ Disable message signing.
+ Disable Nagle's algorithm on client sockets. This is the default.
+ Enable Nagle's algorithm on client sockets.
+ Fail write requests with -ENOSPC when the cluster is full or the data
+ pool reaches its quota. The default behaviour is to block until the
+ full condition is cleared.
+ Specify the name of the hidden snapdir. The default is ".snap".
+ Specify the name of one filesystem to mount if you have more than
+ one filesystem.
Specify the maximum write size in bytes. Default: 64 MB.
@@ -111,52 +191,119 @@ Mount Options
Specify the maximum readahead size in bytes. Default: 8 MB.
- Specify the timeout value for mount (in seconds), in the case
- of a non-responsive Ceph file system. The default is 60
+ Specify the minimum amount of time for telling the MDS we no
+ longer want caps, in case we reopen the file. Default: 5 seconds.
+ Specify the maximum amount of time for telling the MDS we no
+ longer want caps, in case we reopen the file. Default: 60 seconds.
Specify the maximum number of caps to hold. Unused caps are released
when number of caps exceeds the limit. The default is 0 (no limit)
+ Specify the maximum directy entries to read per-request. Default:
+ Specify the maximum bytes could read per-request when reading directy
+ entries. Default: 512k.
+ Specify the maximum writeback in flight, scale with available memory.
+ Default: calculated from available memory, but limit the default to
+ 256M, at least 1M.
+ Enable funky cat dirname for stats.
+ Disable funky cat dirname for stats. This is the default.
When stat() is called on a directory, set st_size to 'rbytes',
the summation of file sizes over all files nested beneath that
directory. This is the default.
- When stat() is called on a directory, set st_size to the
- number of entries in that directory.
- Disable CRC32C calculation for data writes. If set, the storage node
- must rely on TCP's error correction to detect data corruption
- in the data payload.
+ When stat() is called on a directory, set st_size to the number
+ of entries in that directory.
- Use the dcache contents to perform negative lookups and
- readdir when the client has the entire directory contents in
- its cache. (This does not change correctness; the client uses
- cached metadata only when a lease or capability ensures it is
+ Use the dcache contents to perform negative lookups and readdir
+ when the client has the entire directory contents in its cache.
+ (This does not change correctness; the client uses cached metadata
+ only when a lease or capability ensures it is valid.) This is
+ the default.
Do not use the dcache as above. This avoids a significant amount of
complex code, sacrificing performance without affecting correctness,
and is useful for tracking down bugs.
+ Enable to use the dcache as above for readdir. This is the default.
- Do not use the dcache as above for readdir.
+ Disable to use the dcache as above for readdir.
+ Enable and force the ceph fs to report 32 bit ino values. This is
+ useful for 64 bit kernels with 32 bit userspace.
+ Disable forcing the ceph fs to report 32 bit ino values. This is
+ the default.
+ Enable and use fscache cookie as a local presisent cache with a unique
+ Enable and use fscache cookie as a local presisent cache without any
+ unique qualifier.
+ Disable and do not use fscache cookie as a local presisent cache.
+ Enable the pool rd/wr permission check for read/write. This is the
+ Disable the pool rd/wr permission check for read/write.
+ Enable mount waits if no mds is up.
+ Disablee mount waits if no mds is up. This is the default.
Report overall filesystem usage in statfs instead of using the root
- directory quota.
+ directory quota. This is the default.
- Don't use the RADOS 'copy-from' operation to perform remote object
+ Disable and do not report overall filesystem usage in statfs instead
+ of using the root directory quota.
+ Enable and use the RADOS 'copy-from' operation to perform remote object
copies. Currently, it's only used in copy_file_range, which will revert
- to the default VFS implementation if this option is used.
+ to the default VFS implementation if this option is used. This is the
+ Disable to use the RADOS 'copy-from' operation to perform remote object
+ Enable the acl. This is the default.
+ Disable the acl.
Set auto reconnect mode in the case where the client is blacklisted. The
^ permalink raw reply [flat|nested] only message in thread
only message in thread, back to index
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 6:49 [PATCH] ceph: fix and update the mount options xiubli
Linux-Doc Archive on lore.kernel.org
Archives are clonable:
git clone --mirror https://lore.kernel.org/linux-doc/0 linux-doc/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 linux-doc linux-doc/ https://lore.kernel.org/linux-doc \
Example config snippet for mirrors
Newsgroup available over NNTP:
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git