[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Amar Tumballi
Subject: Re: [Gluster-devel] Serious problem doing a perl operation
Date: Fri, 16 Sep 2011 16:39:16 +0530

this issue is being worked on and a patch is submitted to review  at

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


On Fri, Sep 16, 2011 at 4:35 PM, Beat Rubischon <address@hidden> 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 Rubischon <address@hidden>
  ( 0-0 )                   
Meine Erlebnisse, Gedanken und Traeume:

Gluster-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]