client-standalone/master-backport: "CEPH_VERSION" redefined
hi
client-standalone/master-backport seems to be broken right now.
and the unstable-backport seems to be behind master-backport (missing dkms). what is the worklfow in client-standalone - not unstable to master? which one should be used for testing?
# make
make -C /lib/modules/2.6.34/build M=/usr/src/ceph-client-standalone CONFIG_CEPH_FS=m modules
make[1]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.34'
CC [M] /usr/src/ceph-client-standalone/super.o
In file included from /usr/src/ceph-client-standalone/super.c:1087:
/usr/src/ceph-client-standalone/upstream_version.h:10:1: warning: "CEPH_VERSION" redefined
In file included from /usr/src/ceph-client-standalone/types.h:10,
from /usr/src/ceph-client-standalone/decode.h:7,
from /usr/src/ceph-client-standalone/super.c:17:
/usr/src/ceph-client-standalone/ceph_fs.h:29:1: warning: this is the location of the previous definition
CC [M] /usr/src/ceph-client-standalone/inode.o
CC [M] /usr/src/ceph-client-standalone/dir.o
/usr/src/ceph-client-standalone/dir.c:1220: warning: initialization from incompatible pointer type
CC [M] /usr/src/ceph-client-standalone/file.o
/usr/src/ceph-client-standalone/file.c: In function ‘ceph_aio_write’:
/usr/src/ceph-client-standalone/file.c:847: warning: passing argument 2 of ‘vfs_fsync_range’ makes pointer from integer without a cast
/usr/src/ceph-client-standalone/file.c:847: error: too few arguments to function ‘vfs_fsync_range’
/usr/src/ceph-client-standalone/file.c: At top level:
/usr/src/ceph-client-standalone/file.c:932: warning: initialization from incompatible pointer type
make[2]: *** [/usr/src/ceph-client-standalone/file.o] Error 1
make[1]: *** [_module_/usr/src/ceph-client-standalone] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.34'
make: *** [all] Error 2--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Thomas Mueller
hi
client-standalone/master-backport seems to be broken right now.
Are you sure you're on the master-backport and not the master branch? Your error looks like it's missing the kernel version #ifdefs for the recent vfs_fsync api change.
Quoted 1 line
and the unstable-backport seems to be behind master-backport (missing dkms).
Yeah...
Quoted 2 lines
what is the worklfow in client-standalone - not unstable to master? which one should be used for testing?
I have a script that mirrors just the commits affecting fs/ceph in the kernel git tree (http://pastebin.org/433717), so the -standalone.git unstable matches the ceph-client.git unstable branch. Generally I don't bother cleaning up and rebasing the unstable tree there until it's time to send things upstream for the merge window or there is some other specific reason to. I'll do that as soon as 2.6.35 is out. In the meantime, you should be able to merge the -standalone.git unstable into master-backport with minimal pain.
sage
Quoted 32 lines
# make make -C /lib/modules/2.6.34/build M=/usr/src/ceph-client-standalone CONFIG_CEPH_FS=m modules make[1]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.34' CC [M] /usr/src/ceph-client-standalone/super.o In file included from /usr/src/ceph-client-standalone/super.c:1087: /usr/src/ceph-client-standalone/upstream_version.h:10:1: warning: "CEPH_VERSION" redefined In file included from /usr/src/ceph-client-standalone/types.h:10, from /usr/src/ceph-client-standalone/decode.h:7, from /usr/src/ceph-client-standalone/super.c:17: /usr/src/ceph-client-standalone/ceph_fs.h:29:1: warning: this is the location of the previous definition CC [M] /usr/src/ceph-client-standalone/inode.o CC [M] /usr/src/ceph-client-standalone/dir.o /usr/src/ceph-client-standalone/dir.c:1220: warning: initialization from incompatible pointer type CC [M] /usr/src/ceph-client-standalone/file.o /usr/src/ceph-client-standalone/file.c: In function ÿÿceph_aio_writeÿÿ: /usr/src/ceph-client-standalone/file.c:847: warning: passing argument 2 of ÿÿvfs_fsync_rangeÿÿ makes pointer from integer without a cast /usr/src/ceph-client-standalone/file.c:847: error: too few arguments to function ÿÿvfs_fsync_rangeÿÿ /usr/src/ceph-client-standalone/file.c: At top level: /usr/src/ceph-client-standalone/file.c:932: warning: initialization from incompatible pointer type make[2]: *** [/usr/src/ceph-client-standalone/file.o] Error 1 make[1]: *** [_module_/usr/src/ceph-client-standalone] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.34' make: *** [all] Error 2--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Sage Weil
Quoted 2 lines
what is the worklfow in client-standalone - not unstable to master? which one should be used for testing?
I have a script that mirrors just the commits affecting fs/ceph in the kernel git tree (http://pastebin.org/433717), so the -standalone.git unstable matches the ceph-client.git unstable branch. Generally I don't bother cleaning up and rebasing the unstable tree there until it's time to send things upstream for the merge window or there is some other specific reason to. I'll do that as soon as 2.6.35 is out. In the meantime, you should be able to merge the -standalone.git unstable into master-backport with minimal pain.
I just did a rebase and some cleanup for the merge window. It'll get rebased once more after 2.6.35.
And the CEPH_VERSION warning can be ignored... it'll go away soon!
sage