+ aoe-perform-i-o-completions-in-parallel.patch added to -mm tree
Subsystems (2)
Subject: + aoe-perform-i-o-completions-in-parallel.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Tue, 02 Jul 2013 14:43:41 -0700
The patch titled
Subject: aoe: perform I/O completions in parallel
has been added to the -mm tree. Its filename is
aoe-perform-i-o-completions-in-parallel.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/aoe-perform-i-o-completions-in-parallel.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/aoe-perform-i-o-completions-in-parallel.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Ed Cashin <[email protected]>
Subject: aoe: perform I/O completions in parallel
Some users have a large AoE target while others like to use many AoE targets at the same time. In the latter case, there is an opportunity to greatly improve aggregate throughput by allowing different threads to complete the I/O associated with each target. For 36 targets, 4 KiB read throughput roughly doubles, for example, with these changes in place.
---
drivers/block/aoe/aoe.h | 7 + drivers/block/aoe/aoecmd.c | 153 +++++++++++++++++++++++++++++------ drivers/block/aoe/aoedev.c | 1 drivers/block/aoe/aoenet.c | 5 - 4 files changed, 135 insertions(+), 31 deletions(-)
drivers/block/aoe/aoe.h renamed from drivers/block/aoe/aoe.h~aoe-perform-i-o-completions-in-parallel +5 -2
@@ -196,9 +196,11 @@ struct ktstate {struct completion rendez;struct task_struct *task;wait_queue_head_t *waitq; -int (*fn) (void ); -char *name; +int (*fn) (int ); +char name[12 ];spinlock_t *lock; +int id; +int active; };int aoeblk_init (void );
@@ -222,6 +224,7 @@ int aoecmd_init(void);struct sk_buff *aoecmd_ata_id (struct aoedev *);void aoe_freetframe (struct frame *);void aoe_flush_iocq (void ); +void aoe_flush_iocq_by_index (int );void aoe_end_request (struct aoedev *,struct request *,int );int aoe_ktstart (struct ktstate *k);void aoe_ktstop (struct ktstate *k);
drivers/block/aoe/aoecmd.c renamed from drivers/block/aoe/aoecmd.c~aoe-perform-i-o-completions-in-parallel +127 -26
227 lines not on this page · raw message
drivers/block/aoe/aoedev.c renamed from drivers/block/aoe/aoedev.c~aoe-perform-i-o-completions-in-parallel +0 -1
@@ -518,7 +518,6 @@ voidaoedev_exit (void) {flush_scheduled_work (); -aoe_flush_iocq ();flush (NULL ,0 ,EXITING ); }
drivers/block/aoe/aoenet.c renamed from drivers/block/aoe/aoenet.c~aoe-perform-i-o-completions-in-parallel +3 -2
@@ -52,7 +52,7 @@ static struct sk_buff_head skbtxq;/* enters with txlock held */ static int -tx(void) __must_hold(&txlock) +tx(int id) __must_hold(&txlock) {struct sk_buff *skb;struct net_device *ifp;
@@ -205,7 +205,8 @@ aoenet_init(void) kts.lock = &txlock; kts.fn = tx; kts.waitq = &txwq; - kts.name ="aoe_tx" ; + kts.id =0 ; +snprintf (kts.name,sizeof (kts.name),"aoe_tx%d" , kts.id);if (aoe_ktstart (&kts))return -EAGAIN ;dev_add_pack (&aoe_pt);
_
Patches currently in -mm which might be from [email protected] are
aoe-perform-i-o-completions-in-parallel.patch
aoe-update-copyright-date.patch
aoe-update-internal-version-number-to-v83.patch