opensubscriber
   Find in this group all groups
 
Unknown more information…

g : gluster-devel@nongnu.org 16 September 2011 • 7:09PM -0400

Re: [Gluster-devel] Serious problem doing a perl operation
by Amar Tumballi

REPLY TO AUTHOR
 
REPLY TO GROUP




this issue is being worked on and a patch is submitted to review  at
http://review.gluster.com/440

for now, if you do 'gluster volume set <volname> quick-read off', this
problem should go away.

Regards,
Amar

On Fri, Sep 16, 2011 at 4:35 PM, Beat Rubischon <beat@0x1b...> wrote:

> Hi Einar!
>
> On 16.09.11 12:44, Einar Gautun wrote:
> > I’ve found a serious problem doing this command:
> > perl -i -pe 's/something/somethingelse/' filename
>
> perl opens the same file twice:
>
> strace perl -i -pe 's/something/somethingelse/' filename
> ...
> open("filename", O_RDONLY|O_LARGEFILE)  = 3
> open("filename", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 4
> ...
> close(4)                                = 0
> close(3)                                = 0
>
> Something which currently makes troubles on top of GlusterFS. I had
> similar problems with "bzr" aka Bazaar.
>
> Beat
>
> --
>     \|/                           Beat Rubischon <beat@0x1b...>
>   ( 0-0 )                             http://www.0x1b.ch/~beat/
> oOO--(_)--OOo---------------------------------------------------
> Meine Erlebnisse, Gedanken und Traeume: http://www.0x1b.ch/blog/
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@nong...
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.