diff options
Diffstat (limited to 'include/linux/ceph/rados.h')
-rw-r--r-- | include/linux/ceph/rados.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/include/linux/ceph/rados.h b/include/linux/ceph/rados.h index d784c8dfb09a..68c96a508ac2 100644 --- a/include/linux/ceph/rados.h +++ b/include/linux/ceph/rados.h | |||
@@ -416,43 +416,5 @@ struct ceph_osd_op { | |||
416 | __le32 payload_len; | 416 | __le32 payload_len; |
417 | } __attribute__ ((packed)); | 417 | } __attribute__ ((packed)); |
418 | 418 | ||
419 | /* | ||
420 | * osd request message header. each request may include multiple | ||
421 | * ceph_osd_op object operations. | ||
422 | */ | ||
423 | struct ceph_osd_request_head { | ||
424 | __le32 client_inc; /* client incarnation */ | ||
425 | struct ceph_object_layout layout; /* pgid */ | ||
426 | __le32 osdmap_epoch; /* client's osdmap epoch */ | ||
427 | |||
428 | __le32 flags; | ||
429 | |||
430 | struct ceph_timespec mtime; /* for mutations only */ | ||
431 | struct ceph_eversion reassert_version; /* if we are replaying op */ | ||
432 | |||
433 | __le32 object_len; /* length of object name */ | ||
434 | |||
435 | __le64 snapid; /* snapid to read */ | ||
436 | __le64 snap_seq; /* writer's snap context */ | ||
437 | __le32 num_snaps; | ||
438 | |||
439 | __le16 num_ops; | ||
440 | struct ceph_osd_op ops[]; /* followed by ops[], obj, ticket, snaps */ | ||
441 | } __attribute__ ((packed)); | ||
442 | |||
443 | struct ceph_osd_reply_head { | ||
444 | __le32 client_inc; /* client incarnation */ | ||
445 | __le32 flags; | ||
446 | struct ceph_object_layout layout; | ||
447 | __le32 osdmap_epoch; | ||
448 | struct ceph_eversion reassert_version; /* for replaying uncommitted */ | ||
449 | |||
450 | __le32 result; /* result code */ | ||
451 | |||
452 | __le32 object_len; /* length of object name */ | ||
453 | __le32 num_ops; | ||
454 | struct ceph_osd_op ops[0]; /* ops[], object */ | ||
455 | } __attribute__ ((packed)); | ||
456 | |||
457 | 419 | ||
458 | #endif | 420 | #endif |