Skip to content

Commit a324ce4

Browse files
committed
buffering writes
1 parent 1363420 commit a324ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/hadoop/fs/glusterfs/GlusterFUSEOutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class GlusterFUSEOutputStream extends OutputStream{
3333
public GlusterFUSEOutputStream(String file, boolean append) throws IOException{
3434
this.f=new File(file); /* not needed ? */
3535
this.pos=0;
36-
this.fuseOutputStream=new FileOutputStream(file, append);
36+
this.fuseOutputStream=new BufferedOutputStream(new FileOutputStream(file, append));
3737
this.closed=false;
3838
}
3939

0 commit comments

Comments
 (0)