All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: syncfs via syscall doesn not work
Date: Fri, 23 Nov 2012 09:19:55 +0100	[thread overview]
Message-ID: <50AF31AB.1050402@profihost.ag> (raw)

Hello list,

i've seen that next branch caontains the "Try using syscall() for syncfs 
if not supported directly by glibc" patch. But this does not work for me.

I've tested this on a Debian Squeeze box with default glibc and a 3.6.7 
Kernel.

The OSD gives me the following output:
2012-11-23 08:55:54.650182 7f7bc7c1f780  0 filestore(/ceph/osd.11/) 
mount FIEMAP ioctl is supported and appears to work
2012-11-23 08:55:54.650190 7f7bc7c1f780  0 filestore(/ceph/osd.11/) 
mount FIEMAP ioctl is disabled via 'filestore fiemap' config option
2012-11-23 08:55:54.650355 7f7bc7c1f780  0 filestore(/ceph/osd.11/) 
mount did NOT detect btrfs
2012-11-23 08:55:54.650358 7f7bc7c1f780  0 filestore(/ceph/osd.11/) 
mount syncfs(2) syscall not support by glibc
2012-11-23 08:55:54.650361 7f7bc7c1f780  0 filestore(/ceph/osd.11/) 
mount no syncfs(2), must use sync(2).
2012-11-23 08:55:54.650362 7f7bc7c1f780  0 filestore(/ceph/osd.11/) 
mount WARNING: multiple ceph-osd daemons on the same host will be slow
2012-11-23 08:55:54.650391 7f7bc7c1f780  0 filestore(/ceph/osd.11/) 
mount found snaps <>
2012-11-23 08:55:54.652413 7f7bc7c1f780  0 filestore(/ceph/osd.11/) 
mount: enabling WRITEAHEAD journal mode: btrfs not detected

When i build ceph against a patched glibc i get:

2012-11-23 09:19:39.339597 7fee3e497780  0 ceph version 
0.54-676-g9d366a0 (9d366a0706a58b1612dd95831533c5a02b87f5fc), process 
ceph-osd, pid 9165
starting osd.11 at :/0 osd_data /ceph/osd.11/ /ceph/journal/osd.11.journal
2012-11-23 09:19:39.347924 7fee3e497780  0 filestore(/ceph/osd.11/) 
mount FIEMAP ioctl is supported and appears to work
2012-11-23 09:19:39.347932 7fee3e497780  0 filestore(/ceph/osd.11/) 
mount FIEMAP ioctl is disabled via 'filestore fiemap' config option
2012-11-23 09:19:39.348111 7fee3e497780  0 filestore(/ceph/osd.11/) 
mount did NOT detect btrfs
2012-11-23 09:19:39.349415 7fee3e497780  0 filestore(/ceph/osd.11/) 
mount syncfs(2) syscall fully supported (by glibc and kernel)
2012-11-23 09:19:39.349461 7fee3e497780  0 filestore(/ceph/osd.11/) 
mount found snaps <>
2012-11-23 09:19:39.350661 7fee3e497780  0 filestore(/ceph/osd.11/) 
mount: enabling WRITEAHEAD journal mode: btrfs not detected

Greets,
Stefan

             reply	other threads:[~2012-11-23  8:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23  8:19 Stefan Priebe - Profihost AG [this message]
2012-11-24  3:07 ` syncfs via syscall doesn not work Sage Weil
2012-11-24  5:34   ` Stefan Priebe - Profihost AG
2012-11-24 17:16     ` Sage Weil
2012-11-24 20:24       ` Stefan Priebe
2012-11-24 23:20         ` Sage Weil
2012-11-25 18:39           ` Stefan Priebe

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=50AF31AB.1050402@profihost.ag \
    --to=s.priebe@profihost.ag \
    --cc=ceph-devel@vger.kernel.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 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.