All of lore.kernel.org
 help / color / mirror / Atom feed
* ioctl compatibility
@ 2010-12-04 23:17 Noah Watkins
  2010-12-06 17:46 ` Gregory Farnum
  0 siblings, 1 reply; 4+ messages in thread
From: Noah Watkins @ 2010-12-04 23:17 UTC (permalink / raw)
  To: ceph-devel; +Cc: Gregory Farnum

Hi Greg,

I noticed this patch changed the CEPH_IOCTL_MAGIC to 0x98, and is also synchronized with the user space Ceph tree, but the Ceph client that ships with Ubuntu 10.10 uses 0x97. There wasn't a change made by this patch to Documentation/ioctl/ioctl-numbers.txt, so I was curious if this was an oversight, and if not, how the userspace code could be made to adapt for the kernel shipping with 10.10.

Thanks,
Noah


--- a/fs/ceph/ioctl.h
+++ b/fs/ceph/ioctl.h
@@ -4,7 +4,7 @@
 #include <linux/ioctl.h>
 #include <linux/types.h>
 
-#define CEPH_IOCTL_MAGIC 0x97
+#define CEPH_IOCTL_MAGIC 0x98
 
 /* just use u64 to align sanely on all archs */
 struct ceph_ioctl_layout {
@@ -17,6 +17,8 @@ struct ceph_ioctl_layout {
                                   struct ceph_ioctl_layout)
 #define CEPH_IOC_SET_LAYOUT _IOW(CEPH_IOCTL_MAGIC, 2,          \
                                   struct ceph_ioctl_layout)
+#define CEPH_IOC_SET_LAYOUT_POLICY _IOW(CEPH_IOCTL_MAGIC, 5,   \
+                                  struct ceph_ioctl_layout)
 
 /*
  * Extract identity, address of the OSD and object storing a given

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-27 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-04 23:17 ioctl compatibility Noah Watkins
2010-12-06 17:46 ` Gregory Farnum
2011-01-27  9:48   ` QEMU RBD failed! wchen
2011-01-27 15:23     ` Wido den Hollander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.