702aeb1f88e707241d76e1e2a1a02dd81e6c2d77 |
|
14-May-2012 |
Sage Weil <sage@inktank.com> |
ceph: fully initialize new layout When we are setting a new layout, fully initialize the structure: - zero it out - always set preferred_osd to -1 Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com>
|
6a8ea4706adb4b4d8f77a8da5f9778b65fbf6f48 |
|
05-Aug-2011 |
Sage Weil <sage@newdream.net> |
ceph: document ioctls ...after some prodding by Christoph. Signed-off-by: Sage Weil <sage@newdream.net>
|
4918b6d140c4822201ebbe2f070875332aff337b |
|
26-Jul-2011 |
Sage Weil <sage@newdream.net> |
ceph: add F_SYNC file flag to force sync (non-O_DIRECT) io This allows us to force IO through the sync path which you normally only get when multiple clients are reading/writing to the same file or by mounting with -o sync. Among other things, this lets test programs verify correctness with a single mount. Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
|
1cd275f609ba46c8cae3ee77e499c54a0d13a983 |
|
06-Dec-2010 |
Sage Weil <sage@newdream.net> |
ceph: fix ioctl magic The ioctl magic was inadvertently changed in 571dba52. Signed-off-by: Sage Weil <sage@newdream.net>
|
571dba52a34015a5a7aa5d480a86936878444a6f |
|
24-Sep-2010 |
Greg Farnum <gregf@hq.newdream.net> |
ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl. Signed-off-by: Sage Weil <sage@newdream.net>
|
8c6e9229fc1989cf263a6fcd4ff406d7f473f966 |
|
16-Apr-2010 |
Sage Weil <sage@newdream.net> |
ceph: add LAZYIO ioctl to mark a file description for lazy consistency Allow an application to mark a file descriptor for lazy file consistency semantics, allowing buffered reads and writes when multiple clients are accessing the same file. Signed-off-by: Sage Weil <sage@newdream.net>
|
33d4909ccc094b8262667bccdd52e01458bee0df |
|
02-Dec-2009 |
Sage Weil <sage@newdream.net> |
ceph: allow preferred osd to be get/set via layout ioctl There is certainly no reason not to report this. The only real downside to allowing the user to set it is that you don't get default values by zeroing the layout struct (the default is -1). Signed-off-by: Sage Weil <sage@newdream.net>
|
8f4e91dee2a245e4be6942f4a8d83a769e13a47d |
|
06-Oct-2009 |
Sage Weil <sage@newdream.net> |
ceph: ioctls A few Ceph ioctls for getting and setting file layout (striping) parameters, and learning the identity and network address of the OSD a given region of a file is stored on. Signed-off-by: Sage Weil <sage@newdream.net>
|