Commit Graph

4 Commits

Author SHA1 Message Date
Greg Farnum
df8f3cbb98 cephfs: fix the stripe_count documentation.
Whoops!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-25 12:51:06 -07:00
Greg Farnum
6a7e635aaf mds: Explicitly initialize layout fields, and to the correct values.
We were previously encoding an fl_pg_preferred of 0, which did
horrible things to the kernel client since 0 is a valid osd to ask for!
To make such things easier to track down in the future, explicitly
fill in defaults when memsetting the struct here.

(There remain other places that memset the struct to zero without
a lot of checks. But we definitely don't want to force them all
to fill in the individual fields, as that's fragile, and since they
don't seem to be breaking anything yet I'm inclined to leave them as
they are.)

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-06-28 08:19:57 -07:00
Sage Weil
4fe3ec91b7 cephfs: remove unused variables
Signed-off-by: Sage Weil <sage@newdream.net>
2010-10-28 13:30:04 -07:00
Greg Farnum
8938f27127 cephfs: Wrote and committed cephfs 2010-10-04 11:04:45 -07:00