Re: Ceph support for Direct I/O

2012-05-18 Thread Francisco Vila
2012/5/17 Chang oykim...@gmail.com:
 Hi,

 I was trying to test write performance of Ceph, using direct I/O.

This is bug-lilypond list. Please check again and post to the correct list.

LilyPond is a program to engrave music scores.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Ceph support for Direct I/O

2012-05-18 Thread Colin Hall

Thanks for responding to that one, Francisco.

Cheers,
Colin.

On Fri, May 18, 2012 at 12:59:33PM +0200, Francisco Vila wrote:
 2012/5/17 Chang oykim...@gmail.com:
  Hi,
 
  I was trying to test write performance of Ceph, using direct I/O.
 
 This is bug-lilypond list. Please check again and post to the correct list.
 
 LilyPond is a program to engrave music scores.
 -- 
 Francisco Vila. Badajoz (Spain)
 www.paconet.org , www.csmbadajoz.com
 
 ___
 bug-lilypond mailing list
 bug-lilypond@gnu.org
 https://lists.gnu.org/mailman/listinfo/bug-lilypond

-- 

Colin Hall
South Mains
West Linton
EH46 7AY
Scotland

Tel: 01968 661994
Mob: 07786 677582

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Ceph support for Direct I/O

2012-05-17 Thread Chang
Hi,

I was trying to test write performance of Ceph, using direct I/O.

$ dd if=/dev/zero of=/mnt/ceph/my.dat bs=1M count=1 oflag=direct

But dd is just stuck without doing any write.

Without oflag, write is done fine.

In the above example, I used Ceph kernel module 0.20, built on kernel 2.6.32.

I also tried Ceph fuse client to mount.
In this case, the above dd command gives me:

dd: opening `/mnt/ceph/my.dat': Invalid argument

Is it because Ceph does not support direct I/O?

I'm using ceph 0.46, installed using Debian release package.
There are three OSDs, 1 Mon and 1 MDS in the cluster.

Any help or clarification is appreciated.

Chang



___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond