Skip to contentSkip to conversation

btrfs filesystem freeze

DISCUSSION [email protected] 2 participants 2 messages Dec 20, 2008 – Dec 21, 2008 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hello,=20

i was testing btrfs a little bit for stability and i think i have found=
an issue.

during some heavy activity (multiple processes writing/reading to compr= essed /btrfs at the same time), i did some snapshots in a loop (every 1= 0 seconds).

very soon, all filesystem activity stopped, i.e. i cannot read/write an= yting from/to /btrfs anymore.
this happens with latest git-unstable with kernel 2.6.27 nothing in dmesg.=20

besides that, the system seems ok.

as the system is a vmware virtual machine, i did a snapshot of the syst= em state, so we can always go back to this state.

if somebody want`s to analyse this, please tell me what to do.

regards
roland

ps:
btw, is there some bugzilla/bugtracker for btrfs ?
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger geh=F6rt?=20 Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3D3123

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 10 lines · [email protected] wrote:

Hello,

i was testing btrfs a little bit for stability and i think i have found an issue.

during some heavy activity (multiple processes writing/reading to compressed /btrfs at the same time), i did some snapshots in a loop (every 10 seconds).

very soon, all filesystem activity stopped, i.e. i cannot read/write anyting from/to /btrfs anymore. this happens with latest git-unstable with kernel 2.6.27
nothing in dmesg.

Quoted 6 lines

besides that, the system seems ok.

as the system is a vmware virtual machine, i did a snapshot of the system state, so we can always go back to this state.

if somebody want`s to analyse this, please tell me what to do.

Thank you for reporting this. Please try the attached patch.

Yan Zheng

---

fs/btrfs/transaction.c +1 -1
diff -urp 1/fs/btrfs/transaction.c 2/fs/btrfs/transaction.c
@@ -804,7 +804,7 @@ static noinline int finish_pending_snaps
 
 	parent_inode = pending->dentry->d_parent->d_inode;
 	parent_root = BTRFS_I(parent_inode)->root;
-	trans = btrfs_start_transaction(parent_root, 1);
+	trans = btrfs_join_transaction(parent_root, 1);
 
 	/*
 	 * insert the directory item