All of lore.kernel.org
 help / color / mirror / Atom feed
* Errors on compiling master-backport of ceph-client-standalone
@ 2010-12-16  7:39 Henry C Chang
  2010-12-16  7:56 ` Jeff Wu
  2010-12-16 18:06 ` Sage Weil
  0 siblings, 2 replies; 5+ messages in thread
From: Henry C Chang @ 2010-12-16  7:39 UTC (permalink / raw)
  To: ceph-devel

Hi,

Just tried to compile master-backport of ceph-client-standalone and got errors.
I did two modifications to fix the errors:

1. include <linux/smp_lock.h> in ceph/mds_client.c for lock_kernel()
2. Revert commit "convert ceph"
(ff8a8d2006dca58f71b5dc5df0c95b8f837a0a4e) because mount operation
does not exist before 2.6.37.

Henry

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Errors on compiling master-backport of ceph-client-standalone
@ 2010-12-29  7:18 Henry Chang
  2011-01-03 21:58 ` Sage Weil
  0 siblings, 1 reply; 5+ messages in thread
From: Henry Chang @ 2010-12-29  7:18 UTC (permalink / raw)
  To: ceph-devel

> Sigh... this one is going to be a pain to surround with kernel version
> #ifdefs.  The commit that needs to be conditional on the version is Al's,
> ff8a8d20.  Any takers?

Fixed by two patches:
1. include version.h for kernel version checking
https://github.com/tcloud/ceph-client-standalone/commit/c1696dc02658ae98f2d8c94f03624b18acc8a20a

2. backport mount pre 2.6.37
https://github.com/tcloud/ceph-client-standalone/commit/704ba2ce3aac60fbdc7d10e229f8d93ffe87389f

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

end of thread, other threads:[~2011-01-03 21:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-16  7:39 Errors on compiling master-backport of ceph-client-standalone Henry C Chang
2010-12-16  7:56 ` Jeff Wu
2010-12-16 18:06 ` Sage Weil
  -- strict thread matches above, loose matches on Subject: below --
2010-12-29  7:18 Henry Chang
2011-01-03 21:58 ` Sage Weil

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.