Re: [PATCH] btrfs: switch uuid tree semaphore to mutex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 07, 2017 at 01:58:12PM +0000, Filipe Manana wrote:
> On Mon, Nov 6, 2017 at 6:24 PM, David Sterba <dsterba@xxxxxxxx> wrote:
> > @@ -3696,9 +3696,9 @@ void close_ctree(struct btrfs_fs_info *fs_info)
> >         btrfs_qgroup_wait_for_completion(fs_info, false);
> >
> >         /* wait for the uuid_scan task to finish */
> > -       down(&fs_info->uuid_tree_rescan_sem);
> > +       mutex_lock(&fs_info->uuid_tree_mutex);
> >         /* avoid complains from lockdep et al., set sem back to initial state */
> 
> This comment should go away too.

Agreed, removed in v2.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux