Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-24 Thread Yan, Zheng
> On 21 Apr 2017, at 21:59, Alexander Graf wrote: > > > > On 21.04.17 04:22, Yan, Zheng wrote: >> >>> On 20 Apr 2017, at 20:40, Alexander Graf wrote: >>> >>> The file open flags (O_foo) are platform specific and should never go >>> out to an interface that is not local to the system. >>> >

Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-21 Thread Alexander Graf
On 21.04.17 04:22, Yan, Zheng wrote: On 20 Apr 2017, at 20:40, Alexander Graf wrote: The file open flags (O_foo) are platform specific and should never go out to an interface that is not local to the system. Unfortunately these flags have leaked out onto the wire in the cephfs implementati

Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-21 Thread Alexander Graf
On 21.04.17 15:46, Jeff Layton wrote: On Thu, 2017-04-20 at 14:40 +0200, Alexander Graf wrote: The file open flags (O_foo) are platform specific and should never go out to an interface that is not local to the system. Unfortunately these flags have leaked out onto the wire in the cephfs imple

Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-21 Thread Jeff Layton
On Thu, 2017-04-20 at 14:40 +0200, Alexander Graf wrote: > The file open flags (O_foo) are platform specific and should never go > out to an interface that is not local to the system. > > Unfortunately these flags have leaked out onto the wire in the cephfs > implementation. That lead to bogus fla

Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-21 Thread Alexander Graf
> Am 21.04.2017 um 08:59 schrieb Jan Fajerski : > >> On Fri, Apr 21, 2017 at 10:22:16AM +0800, Yan, Zheng wrote: >> >>> On 20 Apr 2017, at 20:40, Alexander Graf wrote: >>> >>> The file open flags (O_foo) are platform specific and should never go >>> out to an interface that is not local to th

Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-21 Thread Jan Fajerski
On Fri, Apr 21, 2017 at 10:22:16AM +0800, Yan, Zheng wrote: On 20 Apr 2017, at 20:40, Alexander Graf wrote: The file open flags (O_foo) are platform specific and should never go out to an interface that is not local to the system. Unfortunately these flags have leaked out onto the wire in th

Re: [PATCH] ceph: Fix file open flags on ppc64

2017-04-20 Thread Yan, Zheng
> On 20 Apr 2017, at 20:40, Alexander Graf wrote: > > The file open flags (O_foo) are platform specific and should never go > out to an interface that is not local to the system. > > Unfortunately these flags have leaked out onto the wire in the cephfs > implementation. That lead to bogus flags

[PATCH] ceph: Fix file open flags on ppc64

2017-04-20 Thread Alexander Graf
The file open flags (O_foo) are platform specific and should never go out to an interface that is not local to the system. Unfortunately these flags have leaked out onto the wire in the cephfs implementation. That lead to bogus flags getting transmitted on ppc64. This patch converts the kernel vi