Re: Using valgrind_osd option

2013-07-11 Thread Ranjan Sarpangala Venkatesh
Hi Mark, I upgraded valgrind to 3.8.1 and also used --soname-synonyms=somalloc=*tcmalloc* option. However, no massif.out file was created. Kindly let me know if i am missing something. With regards Ranjan On Tue, Jul 9, 2013 at 6:15 PM, Mark Nelson mark.nel...@inktank.com wrote: Hi, I ran

Re: Re: [PATCH] ceph:Update the file time after mmap-write.

2013-07-11 Thread majianpeng
On Thu, Jul 11, 2013 at 9:17 AM, majianpeng majianp...@gmail.com wrote: Although, mmap-write of ceph update the time of file using file_update_time.Because it don't mark the relative cap so the time can't save. I think cephfs' mmap IO support is still broken. mmap IO does not respect ceph

Re: 4x write amplification?

2013-07-11 Thread Oleg Krasnianskiy
2013/7/10 Gregory Farnum g...@inktank.com: On Tue, Jul 9, 2013 at 7:08 PM, Li Wang liw...@ubuntukylin.com wrote: Hi, We did a simple throughput test on Ceph with 2 OSD nodes configured with one replica policy. For each OSD node, the throughput measured by 'dd' run locally is 117MB/s.

[PATCH] ceph: Don't get layout from mds for regular file which has been written.

2013-07-11 Thread majianpeng
For regular file which has been written, it can't change layout. So it can get layout from local rather than mds. Signed-off-by: Jianpeng Ma majianp...@gmail.com --- fs/ceph/ioctl.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/ceph/ioctl.c b/fs/ceph/ioctl.c

Re: Re: [PATCH] ceph:Update the file time after mmap-write.

2013-07-11 Thread Yan, Zheng
On Thu, Jul 11, 2013 at 3:53 PM, majianpeng majianp...@gmail.com wrote: On Thu, Jul 11, 2013 at 9:17 AM, majianpeng majianp...@gmail.com wrote: Although, mmap-write of ceph update the time of file using file_update_time.Because it don't mark the relative cap so the time can't save. I think

Re: Set object mtime

2013-07-11 Thread Sylvain Munaut
Hi, Okay thanks! A call in the C API would be handy. I was wanting to look at creating a tool to sync RADOS between clusters. Is that anything that's in the development plan already? I was just thinking of the same thing. Basically I want rsync between pools, mostly to allow changing the

Re: wip-libcephfs-rebased-v65 ready for pull

2013-07-11 Thread Sage Weil
Hi, I've rebased this on master, and cherry-picked the fixes from Ilya on top. The exception is the xattr changes, which turned out to be an MDS bug turned by up the unit test. Is there a particular need for this to be in dumpling? I'm inclined to delay a release to avoid potentially

Re: wip-libcephfs-rebased-v65 ready for pull

2013-07-11 Thread Matt W. Benjamin
Hi Sage, It's up to you folks. If the next window works better, let's just enter it early. Matt - Sage Weil s...@inktank.com wrote: Hi, I've rebased this on master, and cherry-picked the fixes from Ilya on top. The exception is the xattr changes, which turned out to be an MDS bug

Re: Using valgrind_osd option

2013-07-11 Thread Sage Weil
On Wed, 10 Jul 2013, Ranjan Sarpangala Venkatesh wrote: Hi Mark, I upgraded valgrind to 3.8.1 and also used --soname-synonyms=somalloc=*tcmalloc* option. However, no massif.out file was created. Kindly let me know if i am missing something. I haven't run into this. I usually run without

Re: Using valgrind_osd option

2013-07-11 Thread Mark Nelson
Hrm, I think I answered too quickly. I use that directly with valgrind launching the daemon, not through vstart. Not sure if it passes it through properly. Maybe try Sage's suggestion or see if valgrind works when you launch the daemon directly? Mark On 07/11/2013 01:21 AM, Ranjan

Re: Re: [PATCH] ceph: Don't do set_layout for file which has been written.

2013-07-11 Thread majianpeng
On Thu, 11 Jul 2013, majianpeng wrote: Cephfs don't change the layout which has been written.So add this check before do. This could conceivaably change in the future, and I'm not sure there is harm is the MDS round trip to get the error code here...? Sorry, i can't understand what's your

Re: Re: [PATCH] ceph:Update the file time after mmap-write.

2013-07-11 Thread majianpeng
On Thu, Jul 11, 2013 at 3:53 PM, majianpeng majianp...@gmail.com wrote: On Thu, Jul 11, 2013 at 9:17 AM, majianpeng majianp...@gmail.com wrote: Although, mmap-write of ceph update the time of file using file_update_time.Because it don't mark the relative cap so the time can't save. I think

Re: Re: [PATCH] ceph:Update the file time after mmap-write.

2013-07-11 Thread Gregory Farnum
On Thu, Jul 11, 2013 at 2:03 AM, Yan, Zheng uker...@gmail.com wrote: On Thu, Jul 11, 2013 at 3:53 PM, majianpeng majianp...@gmail.com wrote: On Thu, Jul 11, 2013 at 9:17 AM, majianpeng majianp...@gmail.com wrote: Although, mmap-write of ceph update the time of file using

Re: Re: [PATCH] ceph:Update the file time after mmap-write.

2013-07-11 Thread Yan, Zheng
On Fri, Jul 12, 2013 at 10:46 AM, Gregory Farnum g...@inktank.com wrote: On Thu, Jul 11, 2013 at 2:03 AM, Yan, Zheng uker...@gmail.com wrote: On Thu, Jul 11, 2013 at 3:53 PM, majianpeng majianp...@gmail.com wrote: On Thu, Jul 11, 2013 at 9:17 AM, majianpeng majianp...@gmail.com wrote: Although,

HA: wip-libcephfs rebased and pulled up to v.65

2013-07-11 Thread Ilya Storozhilov
Hi Sage, Adam, Matt and David, this branch is looking good at the first blush. We will check out how it works and report to you till the EOD. Regards, Ilya От: Sage Weil [s...@inktank.com] Отправлено: 11 июля 2013 г. 23:01 To: Ilya Storozhilov Cc: Adam