Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-08-05 Thread Joseph Qi
On 2015/8/5 12:40, Ryan Ding wrote: Hi Joseph, On 08/04/2015 05:03 PM, Joseph Qi wrote: Hi Ryan, On 2015/8/4 14:16, Ryan Ding wrote: Hi Joseph, Sorry for bothering you with the old patches. But I really need to know what this patch is for.

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-08-05 Thread Joseph Qi
On 2015/8/5 12:40, Ryan Ding wrote: Hi Joseph, On 08/04/2015 05:03 PM, Joseph Qi wrote: Hi Ryan, On 2015/8/4 14:16, Ryan Ding wrote: Hi Joseph, Sorry for bothering you with the old patches. But I really need to know what this patch is for.

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-08-05 Thread Ryan Ding
On 08/05/2015 02:40 PM, Joseph Qi wrote: On 2015/8/5 12:40, Ryan Ding wrote: Hi Joseph, On 08/04/2015 05:03 PM, Joseph Qi wrote: Hi Ryan, On 2015/8/4 14:16, Ryan Ding wrote: Hi Joseph, Sorry for bothering you with the old patches. But I really need to know what this patch is for.

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-08-05 Thread Joseph Qi
On 2015/8/5 16:07, Ryan Ding wrote: On 08/05/2015 02:40 PM, Joseph Qi wrote: On 2015/8/5 12:40, Ryan Ding wrote: Hi Joseph, On 08/04/2015 05:03 PM, Joseph Qi wrote: Hi Ryan, On 2015/8/4 14:16, Ryan Ding wrote: Hi Joseph, Sorry for bothering you with the old patches. But I really need

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-08-05 Thread Ryan Ding
HiJoseph, On 08/05/2015 07:18 PM, Joseph Qi wrote: On 2015/8/5 16:07, Ryan Ding wrote: On 08/05/2015 02:40 PM, Joseph Qi wrote: On 2015/8/5 12:40, Ryan Ding wrote: Hi Joseph, On 08/04/2015 05:03 PM, Joseph Qi wrote: Hi Ryan, On 2015/8/4 14:16, Ryan Ding wrote: Hi Joseph, Sorry for

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-08-04 Thread Joseph Qi
Hi Ryan, On 2015/8/4 14:16, Ryan Ding wrote: Hi Joseph, Sorry for bothering you with the old patches. But I really need to know what this patch is for. https://oss.oracle.com/pipermail/ocfs2-devel/2015-January/010496.html From above email archive, you mentioned those patches aim to

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-08-04 Thread Ryan Ding
Hi Joseph, On 08/04/2015 05:03 PM, Joseph Qi wrote: Hi Ryan, On 2015/8/4 14:16, Ryan Ding wrote: Hi Joseph, Sorry for bothering you with the old patches. But I really need to know what this patch is for. https://oss.oracle.com/pipermail/ocfs2-devel/2015-January/010496.html From

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-01-21 Thread Junxiao Bi
On 01/20/2015 05:00 PM, Joseph Qi wrote: Hi Junxiao, On 2015/1/20 16:26, Junxiao Bi wrote: Hi Joseph, Did this version make any performance improvement with v5? I tested v5, and it didn't improve performance with original buffer write + sync. No performance difference between these two

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-01-21 Thread Junxiao Bi
On 01/22/2015 11:54 AM, Joseph Qi wrote: On 2015/1/22 10:10, Junxiao Bi wrote: On 01/20/2015 05:00 PM, Joseph Qi wrote: Hi Junxiao, On 2015/1/20 16:26, Junxiao Bi wrote: Hi Joseph, Did this version make any performance improvement with v5? I tested v5, and it didn't improve performance

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-01-21 Thread Joseph Qi
On 2015/1/22 10:10, Junxiao Bi wrote: On 01/20/2015 05:00 PM, Joseph Qi wrote: Hi Junxiao, On 2015/1/20 16:26, Junxiao Bi wrote: Hi Joseph, Did this version make any performance improvement with v5? I tested v5, and it didn't improve performance with original buffer write + sync. No

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-01-20 Thread Junxiao Bi
Hi Joseph, Did this version make any performance improvement with v5? I tested v5, and it didn't improve performance with original buffer write + sync. Thanks, Junxiao. On 01/20/2015 04:01 PM, Joseph Qi wrote: Currently in case of append O_DIRECT write (block not allocated yet), ocfs2 will

[Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-01-20 Thread Joseph Qi
Currently in case of append O_DIRECT write (block not allocated yet), ocfs2 will fall back to buffered I/O. This has some disadvantages. Firstly, it is not the behavior as expected. Secondly, it will consume huge page cache, e.g. in mass backup scenario. Thirdly, modern filesystems such as ext4

Re: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write

2015-01-20 Thread Joseph Qi
Hi Junxiao, On 2015/1/20 16:26, Junxiao Bi wrote: Hi Joseph, Did this version make any performance improvement with v5? I tested v5, and it didn't improve performance with original buffer write + sync. No performance difference between these two versions. But we have tested with fio before,