cephfs: pass -1 for old preferred_osd field

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2012-05-12 20:03:53 -07:00
parent 7ce157d60f
commit f2380f4d4f

View File

@ -103,6 +103,7 @@ int main (int argc, char **argv) {
layout.object_size = object_size;
layout.stripe_count = stripe_count;
layout.stripe_unit = stripe_unit;
layout.unused = -1; /* used to be preferred_osd */
err = ioctl(fd, ioctl_num, (unsigned long)&layout);
if (err) {
cerr << "Error setting layout: "