Skip to contentSkip to conversation

BTRFS send/receive limitations

DISCUSSION Lists 2 participants 2 messages Apr 4, 2014 Btrfs file system

lore
Share & tools
lore

Lists

author
#0 lore raw

I read recently that you can't send/receive concurrent streams on the same filesystem, which begs the question of what is meant by a "filesystem". Is that to say that you can't send/receive snapshots on different subvolumes to the same "root filesystem"? Or that you can't send/receive multiple snapshots on the same subvolume? Can you send/receive a snapshot or subvolume to the same root filesystem?

-Ben

#1 lore raw
Quoted 6 lines · Lists

I read recently that you can't send/receive concurrent streams on the same filesystem, which begs the question of what is meant by a "filesystem". Is that to say that you can't send/receive snapshots on different subvolumes to the same "root filesystem"? Or that you can't send/receive multiple snapshots on the same subvolume? Can you send/receive a snapshot or subvolume to the same root filesystem?

The restriction was on the same *filesystem* as a whole: there was
a global lock on the whole FS, which could cause deadlocks with send and receive both accessing the same FS (any subvolumes). I don't recall hearing about problems with two sends from different subvols on the same FS, but that might just be because I wasn't paying attention. :)

I think those restrictions are gone now, in some patch in the
pipeline. Possibly for 3.15 -- I'm not sure if the patches made it into 3.14.

Hugo.

Signature · 3 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
     --- Gomez, darling, don't torture yourself.  That's my job. ---