On Thu, 7 Nov 2013 13:51:52 +0800, Qu Wenruo wrote:
Use kernel workqueue to implement a new btrfs_workqueue_struct, which
has the ordering execution feature like the btrfs_worker.
The func is executed in a concurrency way, and the
ordred_func/ordered_free is executed in the sequence them are
On Thu, Nov 07, 2013 at 10:33:32AM +0100, Stefan Behrens wrote:
+struct btrfs_work_struct {
+ void (*func)(struct btrfs_work_struct *arg);
+ void (*ordered_func)(struct btrfs_work_struct *arg);
+ void (*ordered_free)(struct btrfs_work_struct *arg);
+
+ /* Don't touch things
On Thu, Nov 07, 2013 at 01:51:52PM +0800, Qu Wenruo wrote:
Use kernel workqueue to implement a new btrfs_workqueue_struct, which
has the ordering execution feature like the btrfs_worker.
The func is executed in a concurrency way, and the
ordred_func/ordered_free is executed in the sequence
On Thu, Nov 07, 2013 at 01:08:26PM -0500, Josef Bacik wrote:
On Thu, Nov 07, 2013 at 01:51:52PM +0800, Qu Wenruo wrote:
Use kernel workqueue to implement a new btrfs_workqueue_struct, which
has the ordering execution feature like the btrfs_worker.
The func is executed in a concurrency
On thu, 7 Nov 2013 17:05:29 +0100, David Sterba wrote:
On Thu, Nov 07, 2013 at 10:33:32AM +0100, Stefan Behrens wrote:
+struct btrfs_work_struct {
+ void (*func)(struct btrfs_work_struct *arg);
+ void (*ordered_func)(struct btrfs_work_struct *arg);
+ void
On Thu, 7 Nov 2013 13:09:56 -0500, Josef Bacik wrote:
On Thu, Nov 07, 2013 at 01:08:26PM -0500, Josef Bacik wrote:
On Thu, Nov 07, 2013 at 01:51:52PM +0800, Qu Wenruo wrote:
Use kernel workqueue to implement a new btrfs_workqueue_struct, which
has the ordering execution feature like the
Use kernel workqueue to implement a new btrfs_workqueue_struct, which
has the ordering execution feature like the btrfs_worker.
The func is executed in a concurrency way, and the
ordred_func/ordered_free is executed in the sequence them are queued
after the corresponding func is done.
The new