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.
--
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