btrfs ssd gedit deletes files

Bug #1225698 reported by Markus Fritsche on 2013-09-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-client (Ubuntu)

Bug Description

I have my home directory running on btrfs mounted with the following options:
/dev/sda2 on /home type btrfs (rw,relatime,ssd,discard,compress=lzo,subvol=@home)

When I use gedit to edit a lua-script (not specifically gedit - it's the underlying component I think, because the same happens with ZeroBrane Studio), the file gets deleted, but saving will not work saying that there has been a conflict.

Trying to save anyways will yield many conflict files:
mfritsche@volta:~/Documents/btw$ ls fetchPages.lua*
fetchPages.lua~ fetchPages.lua.u1conflict.1 fetchPages.lua.u1conflict.3
fetchPages.lua.u1conflict fetchPages.lua.u1conflict.2

I have "eatmydata" installed too.

Is there a problem with the combination of btrfs, ssd+discard, eatmydata and gedit?

After a while of leaving gedit alone, I can save the file again.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gedit 3.6.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-30.44-generic
Uname: Linux 3.8.0-30-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Sun Sep 15 17:01:34 2013
MarkForUpload: True
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

u1conflict - files seem to indicate a problem between gedit and ubuntuone

affects: gedit (Ubuntu) → ubuntuone-client (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers