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 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 btrfs_workqueue use 2 workqueues to implement the original
btrfs_worker, one for the normal work and one for ordered work.

At this patch, high priority work queue or thresholding is not added yet.
The high priority feature and thresholding will be added in the following 
patches.

Signed-off-by: Qu Wenruo <quwen...@cn.fujitsu.com>
Reviewed-by: Josef Bacik <jba...@fusionio.com>

Keep in mind I agree with Stefan and Dave's comments so please make those
changes, but after that you can add my reviewed by.  Thanks,

Josef

I'll apply the Stefan and Dave's comments in the next versionwith
more benchmarks.

Thanks.

Qu

--
-----------------------------------------------------
Qu Wenruo
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8526
COINS: 7998-8526
FAX: +86+25-83317685
MAIL: quwen...@cn.fujitsu.com
-----------------------------------------------------

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

Reply via email to