Re: [PATCH 5/5] Btrfs: fill UUID tree initially

2013-04-29 Thread Stefan Behrens
On Mon, 29 Apr 2013 17:12:20 +0200, David Sterba wrote: > On Fri, Apr 19, 2013 at 05:41:06PM +0200, Stefan Behrens wrote: [...] >> +up(&fs_info->uuid_scan_sem); > > Does lockdep need to be instructed that a semaphore is released in a > different thread it's been taken? Not sure if this wasn't

Re: [PATCH 5/5] Btrfs: fill UUID tree initially

2013-04-29 Thread David Sterba
On Fri, Apr 19, 2013 at 05:41:06PM +0200, Stefan Behrens wrote: > When the UUID tree is initially created, a task is spawned that > walks through the root tree. For each found subvolume root_item, > the uuid and received_uuid entries in the UUID tree are added. > This is such a quick operation so t

[PATCH 5/5] Btrfs: fill UUID tree initially

2013-04-19 Thread Stefan Behrens
When the UUID tree is initially created, a task is spawned that walks through the root tree. For each found subvolume root_item, the uuid and received_uuid entries in the UUID tree are added. This is such a quick operation so that in case somebody wants to unmount the filesystem while the task is s