ceph-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: extend man page mount.ceph.8 with available options
@ 2010-06-28  5:51 Thomas Mueller
  2010-06-28 16:53 ` Sage Weil
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Mueller @ 2010-06-28  5:51 UTC (permalink / raw)
  To: ceph-devel

hi

i was searching the mount options in the code. i've extended
the man page of mount.ceph.8 with my findings.

* i've excludede fsidmajor and fsidminor as i really don't known 
what they do 

* excluded monport as it seems not to be use anywhere in the code.

* for dirstat and nodirstat i don't know which of the both
is enabled by default.

* rbytes/norbytes - same as for dirstat and I don't know what the
switch does.

* "don't share client with other sbs" - what does "sbs" mean? (found
this one in the code)



- Thomas



diff --git a/man/mount.ceph.8 b/man/mount.ceph.8
index 996d68e..771b293 100644
--- a/man/mount.ceph.8
+++ b/man/mount.ceph.8
@@ -29,10 +29,125 @@ the time of mount.
 .PP
 A subdirectory \fIsubdir\fP may be specified if a subset of the file system is to be
 mounted.
+
 .SH OPTIONS
+
+wsize
+.IP
+int, ?
+.PP
+
+rsize
+.IP
+int (bytes), max readahead, multiple of 1024, Default: 524288 (512*1024)
+.PP
+
+osdtimeout
+.IP
+int (seconds), Default: 60
+.PP
+
+osdkeepalivetimeout
+.IP
+int, Default: 5
+.PP
+
+mount_timeout
+.IP
+int (seconds), Default: 60
+.PP
+
+osd_idle_ttl
+.IP
+int (seconds), Default: 60
+.PP
+
+caps_wanted_delay_min
+.IP
+int, cap release delay, Default: 5
+.PP
+
+caps_wanted_delay_max
+.IP
+int, cap release delay, Default: 60
+.PP
+
+cap_release_safety
+.IP
+int, Default: calculated
+.PP
+
+readdir_max_entries
+.IP
+int, Default: 1024
+.PP
+
+readdir_max_bytes
+.IP
+int, Default: 524288 (512*1024)
+.PP
+
+write_congestion_kb
+.IP
+int (kb), max writeback in flight. scale with available memory. Default: calculated from available memory
+.PP
+
 snapdirname
 .IP
-set the name of the hidden snapdir. Default: .snap
+string, set the name of the hidden snapdir. Default: .snap
+.PP
+
+name
+.IP
+string, used with authx, Default: guest
+.PP
+
+secret
+.IP
+string, used with authx 
+.PP
+
+ip
+.IP
+my ip
+.PP
+
+noshare
+.IP
+don't share client with other sbs
+.PP
+
+dirstat
+.IP
+funky `cat dirname` for stats
+.PP
+
+nodirstat
+.IP
+no funky `cat dirname` for stats
+.PP
+
+rbytes
+.IP
+?
+.PP
+
+norbytes
+.IP
+?
+.PP
+
+nocrc
+.IP
+no data crc on writes
+.PP
+
+noasyncreaddir
+.IP
+no dcache readdir
+.PP
+
+
 .SH EXAMPLES
 Mount the full file system:
 .IP


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: PATCH: extend man page mount.ceph.8 with available options
  2010-06-28  5:51 PATCH: extend man page mount.ceph.8 with available options Thomas Mueller
@ 2010-06-28 16:53 ` Sage Weil
  0 siblings, 0 replies; 2+ messages in thread
From: Sage Weil @ 2010-06-28 16:53 UTC (permalink / raw)
  To: Thomas Mueller; +Cc: ceph-devel

On Mon, 28 Jun 2010, Thomas Mueller wrote:
> * i've excludede fsidmajor and fsidminor as i really don't known 
> what they do 

Yeah, those are poorly implemented anyway.  They'll be fixed up in the 
next cycle.

> * excluded monport as it seems not to be use anywhere in the code.

Fixed, thanks.

> * for dirstat and nodirstat i don't know which of the both
> is enabled by default.

Off by default.

> * rbytes/norbytes - same as for dirstat and I don't know what the
> switch does.

On by default (makes reported dir st_size equal to rbytes).

> * "don't share client with other sbs" - what does "sbs" mean? (found
> this one in the code)

Superblocks.  Normally, if you mount the same cluster twice (maybe two 
subdirs, or in two different places) the same client instance is shared.  
'noshare' will force a new, unique client instance.

I'll fix this up and apply, thanks!

Thanks-
sage

> 
> 
> 
> - Thomas
> 
> 
> 
> diff --git a/man/mount.ceph.8 b/man/mount.ceph.8
> index 996d68e..771b293 100644
> --- a/man/mount.ceph.8
> +++ b/man/mount.ceph.8
> @@ -29,10 +29,125 @@ the time of mount.
>  .PP
>  A subdirectory \fIsubdir\fP may be specified if a subset of the file system is to be
>  mounted.
> +
>  .SH OPTIONS
> +
> +wsize
> +.IP
> +int, ?
> +.PP
> +
> +rsize
> +.IP
> +int (bytes), max readahead, multiple of 1024, Default: 524288 (512*1024)
> +.PP
> +
> +osdtimeout
> +.IP
> +int (seconds), Default: 60
> +.PP
> +
> +osdkeepalivetimeout
> +.IP
> +int, Default: 5
> +.PP
> +
> +mount_timeout
> +.IP
> +int (seconds), Default: 60
> +.PP
> +
> +osd_idle_ttl
> +.IP
> +int (seconds), Default: 60
> +.PP
> +
> +caps_wanted_delay_min
> +.IP
> +int, cap release delay, Default: 5
> +.PP
> +
> +caps_wanted_delay_max
> +.IP
> +int, cap release delay, Default: 60
> +.PP
> +
> +cap_release_safety
> +.IP
> +int, Default: calculated
> +.PP
> +
> +readdir_max_entries
> +.IP
> +int, Default: 1024
> +.PP
> +
> +readdir_max_bytes
> +.IP
> +int, Default: 524288 (512*1024)
> +.PP
> +
> +write_congestion_kb
> +.IP
> +int (kb), max writeback in flight. scale with available memory. Default: calculated from available memory
> +.PP
> +
>  snapdirname
>  .IP
> -set the name of the hidden snapdir. Default: .snap
> +string, set the name of the hidden snapdir. Default: .snap
> +.PP
> +
> +name
> +.IP
> +string, used with authx, Default: guest
> +.PP
> +
> +secret
> +.IP
> +string, used with authx 
> +.PP
> +
> +ip
> +.IP
> +my ip
> +.PP
> +
> +noshare
> +.IP
> +don't share client with other sbs
> +.PP
> +
> +dirstat
> +.IP
> +funky `cat dirname` for stats
> +.PP
> +
> +nodirstat
> +.IP
> +no funky `cat dirname` for stats
> +.PP
> +
> +rbytes
> +.IP
> +?
> +.PP
> +
> +norbytes
> +.IP
> +?
> +.PP
> +
> +nocrc
> +.IP
> +no data crc on writes
> +.PP
> +
> +noasyncreaddir
> +.IP
> +no dcache readdir
> +.PP
> +
> +
>  .SH EXAMPLES
>  Mount the full file system:
>  .IP
> 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-28 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-28  5:51 PATCH: extend man page mount.ceph.8 with available options Thomas Mueller
2010-06-28 16:53 ` Sage Weil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).