mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
cephfs: pass -1 for old preferred_osd field
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
7ce157d60f
commit
f2380f4d4f
@ -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: "
|
||||
|
Loading…
Reference in New Issue
Block a user