Re: [PATCH] Btrfs: add a reschedule point in btrfs_find_all_roots()

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

 



On Sun, Jan 26, 2014 at 10:32:18PM +0800, Wang Shilong wrote:
> I can easily trigger the following warnings when enabling quota
> in my virtual machine(running Opensuse), Steps are firstly creating
> a subvolume full of fragment extents, and then create many snapshots
> (500 in my test case).

Good one.  You can try to increase the stress and find more of such
stalls, any while() loop using qgroups inside is a good candidate.
Sometimes the scheduling points are implied by called functions.

> Cc: Josef Bacik <jbacik@xxxxxx>
> Signed-off-by: Wang Shilong <wangsl.fnst@xxxxxxxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxx>
--
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