Re: client-standalone/master-backport: "CEPH_VERSION" redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 30 Jul 2010, Thomas Mueller wrote:
> 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.

> and the unstable-backport seems to be behind master-backport (missing dkms).

Yeah...

> 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

> 
> 
> # 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 majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux