CEPH filesystem development
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@samba.org>
To: Jeremy Allison <jra@samba.org>
Cc: ceph-devel@vger.kernel.org, ira@wakeful.net,
	samba-technical@lists.samba.org
Subject: Re: [samba PATCH] vfs:ceph: convert to using ceph_statx structures and functions, when available
Date: Thu, 17 Nov 2016 13:22:12 -0500	[thread overview]
Message-ID: <1479406932.4556.3.camel@samba.org> (raw)
In-Reply-To: <20160908165630.GA29600@jra3>

On Thu, 2016-09-08 at 09:56 -0700, Jeremy Allison wrote:
> On Thu, Sep 08, 2016 at 10:35:55AM -0400, Jeff Layton wrote:
> > On Thu, 2016-09-08 at 10:29 -0400, Jeff Layton wrote:
> > > Add a configure test for the ceph_statx function, and use that to
> > > determine whether to compile in new functions that use it and its
> > > variants, or whether to use a the older code that fetches birthtimes
> > > from an xattr.
> > > 
> > > For cephwrap_lstat, we can use ceph_statx with the AT_SYMLINK_NOFOLLOW
> > > flag to get the right lookup semantics.
> > > 
> > > For setting the times via cephwrap_ntimes, We can just use ceph_setattrx
> > > and pass them all in at the same time.
> > > 
> > > > Signed-off-by: Jeff Layton <jlayton@redhat.com>
> > > 
> > > ---
> > >  source3/modules/vfs_ceph.c | 216 ++++++++++++++++++++++++++++++++++++++-------
> > >  source3/wscript            |   2 +
> > >  2 files changed, 185 insertions(+), 33 deletions(-)
> > > 
> > 
> > The new interfaces are now merged in the ceph master branch and should
> > ship with the Kraken release. I know however, that Greg F. has some
> > libcephfs API changes queued up that might change these function
> > prototypes.
> > 
> > So, it may be good to hold off on merging this into samba master until
> > his work has been merged.
> 
> Fair enough. I'll file these away in my samba-ceph folder until
> you tell me to go look at them :-).
> 
> Cheers,
> 
> 	Jeremy.
> 

Sorry for the long delay in re-posting this, but I had a number of
things to sort out with the new libcephfs API.

I just re-posted the patch with some small deltas. See:

    [PATCH] VFS: convert to using ceph_statx structures and functions, when available

Thanks!
-- 
Jeff Layton <jlayton@samba.org>

      reply	other threads:[~2016-11-17 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08 14:29 [samba PATCH] vfs:ceph: convert to using ceph_statx structures and functions, when available Jeff Layton
2016-09-08 14:35 ` Jeff Layton
2016-09-08 16:56   ` Jeremy Allison
2016-11-17 18:22     ` Jeff Layton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479406932.4556.3.camel@samba.org \
    --to=jlayton@samba.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=ira@wakeful.net \
    --cc=jra@samba.org \
    --cc=samba-technical@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox