From: Fyodor Ustinov <ufm@ufm.su>
To: Sage Weil <sage@newdream.net>
Cc: ceph-devel@vger.kernel.org
Subject: Re: looks like a bug
Date: Tue, 19 Jul 2011 19:28:52 +0300 [thread overview]
Message-ID: <4E25B0C4.70105@ufm.su> (raw)
In-Reply-To: <Pine.LNX.4.64.1107190848360.24443@cobra.newdream.net>
On 07/19/2011 06:49 PM, Sage Weil wrote:
>
> Okay, I found the problem (file mode calculation when O_APPEND is
> present). There is a fix pushed to the stable branch of ceph.git (for
> mds) and to the for-linus branch of the kernel ceph-client.git. You need
> both to behave.
Ok, I wait this. :)
> What workload turned this up?
I try restore from bacula backup system and got return error.
strace show:
open("/bacula/amanda.servers.dcv-sd.Restore-hvds0.servers.dcv.2011-07-19_10.59.12_09.6.bootstrap",
O_RDWR|O_CREAT|O_APPEND, 0666) = 5
fstat(5, {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
write(5,
"Storage=\"File-hvds0.servers.dcv\"\nVolume=\"hvds0.servers.dcv-daily-20110716-000509\"\nMediaType=\"File-hvds0.servers.dcv\"\nDevice=\"FileStorage-hvds0.servers.dcv\"\nVolSessionId=6\nVolSessionTime=1310991740\nVolAddr=46902909-47361240\nFileIndex=17\nCount=1\n",
244) = -1 EBADF (Bad file descriptor)
After that I wrote test and saw the same.
WBR,
Fyodor.
next prev parent reply other threads:[~2011-07-19 16:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-19 8:32 looks like a bug Fyodor Ustinov
2011-07-19 14:31 ` Sage Weil
2011-07-19 14:39 ` Fyodor Ustinov
2011-07-19 15:49 ` Sage Weil
2011-07-19 16:28 ` Fyodor Ustinov [this message]
2011-07-19 18:36 ` Sage Weil
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=4E25B0C4.70105@ufm.su \
--to=ufm@ufm.su \
--cc=ceph-devel@vger.kernel.org \
--cc=sage@newdream.net \
/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.