mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kamal Mostafa <kamal@canonical.com>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	kernel-team@lists.ubuntu.com
Cc: Slava Shwartsman <valyushash@gmail.com>,
	Nicholas Bellinger <nab@linux-iscsi.org>,
	Kamal Mostafa <kamal@canonical.com>
Subject: [PATCH 3.19.y-ckt 088/130] iscsi-target: Convert iscsi_thread_set usage to kthread.h
Date: Thu, 27 Aug 2015 15:11:19 -0700	[thread overview]
Message-ID: <1440713521-5906-89-git-send-email-kamal@canonical.com> (raw)
In-Reply-To: <1440713521-5906-1-git-send-email-kamal@canonical.com>

3.19.8-ckt6 -stable review patch.  If anyone has any objections, please let me know.

------------------

From: Nicholas Bellinger <nab@linux-iscsi.org>

commit 88dcd2dab5c23b1c9cfc396246d8f476c872f0ca upstream.

This patch converts iscsi-target code to use modern kthread.h API
callers for creating RX/TX threads for each new iscsi_conn descriptor,
and releasing associated RX/TX threads during connection shutdown.

This is done using iscsit_start_kthreads() -> kthread_run() to start
new kthreads from within iscsi_post_login_handler(), and invoking
kthread_stop() from existing iscsit_close_connection() code.

Also, convert iscsit_logout_post_handler_closesession() code to use
cmpxchg when determing when iscsit_cause_connection_reinstatement()
needs to sleep waiting for completion.

Reported-by: Sagi Grimberg <sagig@mellanox.com>
Tested-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Slava Shwartsman <valyushash@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
[ kamal: backport to 3.19-stable: iscsi_target_core.h path ]
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 drivers/target/iscsi/iscsi_target.c       | 104 +++++++++++++-----------------
 drivers/target/iscsi/iscsi_target_core.h  |   7 ++
 drivers/target/iscsi/iscsi_target_erl0.c  |  13 ++--
 drivers/target/iscsi/iscsi_target_login.c |  59 +++++++++++++++--
 4 files changed, 114 insertions(+), 69 deletions(-)

diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c
index 89eb2ab..0b5a1e8 100644
--- a/drivers/target/iscsi/iscsi_target.c
+++ b/drivers/target/iscsi/iscsi_target.c
@@ -537,7 +537,7 @@ static struct iscsit_transport iscsi_target_transport = {
 
 static int __init iscsi_target_init_module(void)
 {
-	int ret = 0;
+	int ret = 0, size;
 
 	pr_debug("iSCSI-Target "ISCSIT_VERSION"\n");
 
@@ -546,6 +546,7 @@ static int __init iscsi_target_init_module(void)
 		pr_err("Unable to allocate memory for iscsit_global\n");
 		return -1;
 	}
+	spin_lock_init(&iscsit_global->ts_bitmap_lock);
 	mutex_init(&auth_id_lock);
 	spin_lock_init(&sess_idr_lock);
 	idr_init(&tiqn_idr);
@@ -555,15 +556,11 @@ static int __init iscsi_target_init_module(void)
 	if (ret < 0)
 		goto out;
 
-	ret = iscsi_thread_set_init();
-	if (ret < 0)
+	size = BITS_TO_LONGS(ISCSIT_BITMAP_BITS) * sizeof(long);
+	iscsit_global->ts_bitmap = vzalloc(size);
+	if (!iscsit_global->ts_bitmap) {
+		pr_err("Unable to allocate iscsit_global->ts_bitmap\n");
 		goto configfs_out;
-
-	if (iscsi_allocate_thread_sets(TARGET_THREAD_SET_COUNT) !=
-			TARGET_THREAD_SET_COUNT) {
-		pr_err("iscsi_allocate_thread_sets() returned"
-			" unexpected value!\n");
-		goto ts_out1;
 	}
 
 	lio_qr_cache = kmem_cache_create("lio_qr_cache",
@@ -572,7 +569,7 @@ static int __init iscsi_target_init_module(void)
 	if (!lio_qr_cache) {
 		pr_err("nable to kmem_cache_create() for"
 				" lio_qr_cache\n");
-		goto ts_out2;
+		goto bitmap_out;
 	}
 
 	lio_dr_cache = kmem_cache_create("lio_dr_cache",
@@ -617,10 +614,8 @@ dr_out:
 	kmem_cache_destroy(lio_dr_cache);
 qr_out:
 	kmem_cache_destroy(lio_qr_cache);
-ts_out2:
-	iscsi_deallocate_thread_sets();
-ts_out1:
-	iscsi_thread_set_free();
+bitmap_out:
+	vfree(iscsit_global->ts_bitmap);
 configfs_out:
 	iscsi_target_deregister_configfs();
 out:
@@ -630,8 +625,6 @@ out:
 
 static void __exit iscsi_target_cleanup_module(void)
 {
-	iscsi_deallocate_thread_sets();
-	iscsi_thread_set_free();
 	iscsit_release_discovery_tpg();
 	iscsit_unregister_transport(&iscsi_target_transport);
 	kmem_cache_destroy(lio_qr_cache);
@@ -641,6 +634,7 @@ static void __exit iscsi_target_cleanup_module(void)
 
 	iscsi_target_deregister_configfs();
 
+	vfree(iscsit_global->ts_bitmap);
 	kfree(iscsit_global);
 }
 
@@ -3681,17 +3675,16 @@ static int iscsit_send_reject(
 
 void iscsit_thread_get_cpumask(struct iscsi_conn *conn)
 {
-	struct iscsi_thread_set *ts = conn->thread_set;
 	int ord, cpu;
 	/*
-	 * thread_id is assigned from iscsit_global->ts_bitmap from
-	 * within iscsi_thread_set.c:iscsi_allocate_thread_sets()
+	 * bitmap_id is assigned from iscsit_global->ts_bitmap from
+	 * within iscsit_start_kthreads()
 	 *
-	 * Here we use thread_id to determine which CPU that this
-	 * iSCSI connection's iscsi_thread_set will be scheduled to
+	 * Here we use bitmap_id to determine which CPU that this
+	 * iSCSI connection's RX/TX threads will be scheduled to
 	 * execute upon.
 	 */
-	ord = ts->thread_id % cpumask_weight(cpu_online_mask);
+	ord = conn->bitmap_id % cpumask_weight(cpu_online_mask);
 	for_each_online_cpu(cpu) {
 		if (ord-- == 0) {
 			cpumask_set_cpu(cpu, conn->conn_cpumask);
@@ -3880,7 +3873,7 @@ check_rsp_state:
 	switch (state) {
 	case ISTATE_SEND_LOGOUTRSP:
 		if (!iscsit_logout_post_handler(cmd, conn))
-			goto restart;
+			return -ECONNRESET;
 		/* fall through */
 	case ISTATE_SEND_STATUS:
 	case ISTATE_SEND_ASYNCMSG:
@@ -3908,8 +3901,6 @@ check_rsp_state:
 
 err:
 	return -1;
-restart:
-	return -EAGAIN;
 }
 
 static int iscsit_handle_response_queue(struct iscsi_conn *conn)
@@ -3936,21 +3927,13 @@ static int iscsit_handle_response_queue(struct iscsi_conn *conn)
 int iscsi_target_tx_thread(void *arg)
 {
 	int ret = 0;
-	struct iscsi_conn *conn;
-	struct iscsi_thread_set *ts = arg;
+	struct iscsi_conn *conn = arg;
 	/*
 	 * Allow ourselves to be interrupted by SIGINT so that a
 	 * connection recovery / failure event can be triggered externally.
 	 */
 	allow_signal(SIGINT);
 
-restart:
-	conn = iscsi_tx_thread_pre_handler(ts);
-	if (!conn)
-		goto out;
-
-	ret = 0;
-
 	while (!kthread_should_stop()) {
 		/*
 		 * Ensure that both TX and RX per connection kthreads
@@ -3959,11 +3942,9 @@ restart:
 		iscsit_thread_check_cpumask(conn, current, 1);
 
 		wait_event_interruptible(conn->queues_wq,
-					 !iscsit_conn_all_queues_empty(conn) ||
-					 ts->status == ISCSI_THREAD_SET_RESET);
+					 !iscsit_conn_all_queues_empty(conn));
 
-		if ((ts->status == ISCSI_THREAD_SET_RESET) ||
-		     signal_pending(current))
+		if (signal_pending(current))
 			goto transport_err;
 
 get_immediate:
@@ -3974,15 +3955,14 @@ get_immediate:
 		ret = iscsit_handle_response_queue(conn);
 		if (ret == 1)
 			goto get_immediate;
-		else if (ret == -EAGAIN)
-			goto restart;
+		else if (ret == -ECONNRESET)
+			goto out;
 		else if (ret < 0)
 			goto transport_err;
 	}
 
 transport_err:
 	iscsit_take_action_for_connection_exit(conn);
-	goto restart;
 out:
 	return 0;
 }
@@ -4071,8 +4051,7 @@ int iscsi_target_rx_thread(void *arg)
 	int ret;
 	u8 buffer[ISCSI_HDR_LEN], opcode;
 	u32 checksum = 0, digest = 0;
-	struct iscsi_conn *conn = NULL;
-	struct iscsi_thread_set *ts = arg;
+	struct iscsi_conn *conn = arg;
 	struct kvec iov;
 	/*
 	 * Allow ourselves to be interrupted by SIGINT so that a
@@ -4080,11 +4059,6 @@ int iscsi_target_rx_thread(void *arg)
 	 */
 	allow_signal(SIGINT);
 
-restart:
-	conn = iscsi_rx_thread_pre_handler(ts);
-	if (!conn)
-		goto out;
-
 	if (conn->conn_transport->transport_type == ISCSI_INFINIBAND) {
 		struct completion comp;
 		int rc;
@@ -4094,7 +4068,7 @@ restart:
 		if (rc < 0)
 			goto transport_err;
 
-		goto out;
+		goto transport_err;
 	}
 
 	while (!kthread_should_stop()) {
@@ -4170,8 +4144,6 @@ transport_err:
 	if (!signal_pending(current))
 		atomic_set(&conn->transport_failed, 1);
 	iscsit_take_action_for_connection_exit(conn);
-	goto restart;
-out:
 	return 0;
 }
 
@@ -4233,7 +4205,24 @@ int iscsit_close_connection(
 	if (conn->conn_transport->transport_type == ISCSI_TCP)
 		complete(&conn->conn_logout_comp);
 
-	iscsi_release_thread_set(conn);
+	if (!strcmp(current->comm, ISCSI_RX_THREAD_NAME)) {
+		if (conn->tx_thread &&
+		    cmpxchg(&conn->tx_thread_active, true, false)) {
+			send_sig(SIGINT, conn->tx_thread, 1);
+			kthread_stop(conn->tx_thread);
+		}
+	} else if (!strcmp(current->comm, ISCSI_TX_THREAD_NAME)) {
+		if (conn->rx_thread &&
+		    cmpxchg(&conn->rx_thread_active, true, false)) {
+			send_sig(SIGINT, conn->rx_thread, 1);
+			kthread_stop(conn->rx_thread);
+		}
+	}
+
+	spin_lock(&iscsit_global->ts_bitmap_lock);
+	bitmap_release_region(iscsit_global->ts_bitmap, conn->bitmap_id,
+			      get_order(1));
+	spin_unlock(&iscsit_global->ts_bitmap_lock);
 
 	iscsit_stop_timers_for_cmds(conn);
 	iscsit_stop_nopin_response_timer(conn);
@@ -4511,15 +4500,13 @@ static void iscsit_logout_post_handler_closesession(
 	struct iscsi_conn *conn)
 {
 	struct iscsi_session *sess = conn->sess;
-
-	iscsi_set_thread_clear(conn, ISCSI_CLEAR_TX_THREAD);
-	iscsi_set_thread_set_signal(conn, ISCSI_SIGNAL_TX_THREAD);
+	int sleep = cmpxchg(&conn->tx_thread_active, true, false);
 
 	atomic_set(&conn->conn_logout_remove, 0);
 	complete(&conn->conn_logout_comp);
 
 	iscsit_dec_conn_usage_count(conn);
-	iscsit_stop_session(sess, 1, 1);
+	iscsit_stop_session(sess, sleep, sleep);
 	iscsit_dec_session_usage_count(sess);
 	target_put_session(sess->se_sess);
 }
@@ -4527,13 +4514,12 @@ static void iscsit_logout_post_handler_closesession(
 static void iscsit_logout_post_handler_samecid(
 	struct iscsi_conn *conn)
 {
-	iscsi_set_thread_clear(conn, ISCSI_CLEAR_TX_THREAD);
-	iscsi_set_thread_set_signal(conn, ISCSI_SIGNAL_TX_THREAD);
+	int sleep = cmpxchg(&conn->tx_thread_active, true, false);
 
 	atomic_set(&conn->conn_logout_remove, 0);
 	complete(&conn->conn_logout_comp);
 
-	iscsit_cause_connection_reinstatement(conn, 1);
+	iscsit_cause_connection_reinstatement(conn, sleep);
 	iscsit_dec_conn_usage_count(conn);
 }
 
diff --git a/drivers/target/iscsi/iscsi_target_core.h b/drivers/target/iscsi/iscsi_target_core.h
index cbcff38..5dfd179 100644
--- a/drivers/target/iscsi/iscsi_target_core.h
+++ b/drivers/target/iscsi/iscsi_target_core.h
@@ -602,6 +602,11 @@ struct iscsi_conn {
 	struct iscsi_session	*sess;
 	/* Pointer to thread_set in use for this conn's threads */
 	struct iscsi_thread_set	*thread_set;
+	int			bitmap_id;
+	int			rx_thread_active;
+	struct task_struct	*rx_thread;
+	int			tx_thread_active;
+	struct task_struct	*tx_thread;
 	/* list_head for session connection list */
 	struct list_head	conn_list;
 } ____cacheline_aligned;
@@ -871,10 +876,12 @@ struct iscsit_global {
 	/* Unique identifier used for the authentication daemon */
 	u32			auth_id;
 	u32			inactive_ts;
+#define ISCSIT_BITMAP_BITS	262144
 	/* Thread Set bitmap count */
 	int			ts_bitmap_count;
 	/* Thread Set bitmap pointer */
 	unsigned long		*ts_bitmap;
+	spinlock_t		ts_bitmap_lock;
 	/* Used for iSCSI discovery session authentication */
 	struct iscsi_node_acl	discovery_acl;
 	struct iscsi_portal_group	*discovery_tpg;
diff --git a/drivers/target/iscsi/iscsi_target_erl0.c b/drivers/target/iscsi/iscsi_target_erl0.c
index a0ae5fc..87f6872 100644
--- a/drivers/target/iscsi/iscsi_target_erl0.c
+++ b/drivers/target/iscsi/iscsi_target_erl0.c
@@ -860,7 +860,10 @@ void iscsit_connection_reinstatement_rcfr(struct iscsi_conn *conn)
 	}
 	spin_unlock_bh(&conn->state_lock);
 
-	iscsi_thread_set_force_reinstatement(conn);
+	if (conn->tx_thread && conn->tx_thread_active)
+		send_sig(SIGINT, conn->tx_thread, 1);
+	if (conn->rx_thread && conn->rx_thread_active)
+		send_sig(SIGINT, conn->rx_thread, 1);
 
 sleep:
 	wait_for_completion(&conn->conn_wait_rcfr_comp);
@@ -885,10 +888,10 @@ void iscsit_cause_connection_reinstatement(struct iscsi_conn *conn, int sleep)
 		return;
 	}
 
-	if (iscsi_thread_set_force_reinstatement(conn) < 0) {
-		spin_unlock_bh(&conn->state_lock);
-		return;
-	}
+	if (conn->tx_thread && conn->tx_thread_active)
+		send_sig(SIGINT, conn->tx_thread, 1);
+	if (conn->rx_thread && conn->rx_thread_active)
+		send_sig(SIGINT, conn->rx_thread, 1);
 
 	atomic_set(&conn->connection_reinstatement, 1);
 	if (!sleep) {
diff --git a/drivers/target/iscsi/iscsi_target_login.c b/drivers/target/iscsi/iscsi_target_login.c
index 713c0c1..3b55fe1 100644
--- a/drivers/target/iscsi/iscsi_target_login.c
+++ b/drivers/target/iscsi/iscsi_target_login.c
@@ -699,6 +699,51 @@ static void iscsi_post_login_start_timers(struct iscsi_conn *conn)
 		iscsit_start_nopin_timer(conn);
 }
 
+int iscsit_start_kthreads(struct iscsi_conn *conn)
+{
+	int ret = 0;
+
+	spin_lock(&iscsit_global->ts_bitmap_lock);
+	conn->bitmap_id = bitmap_find_free_region(iscsit_global->ts_bitmap,
+					ISCSIT_BITMAP_BITS, get_order(1));
+	spin_unlock(&iscsit_global->ts_bitmap_lock);
+
+	if (conn->bitmap_id < 0) {
+		pr_err("bitmap_find_free_region() failed for"
+		       " iscsit_start_kthreads()\n");
+		return -ENOMEM;
+	}
+
+	conn->tx_thread = kthread_run(iscsi_target_tx_thread, conn,
+				      "%s", ISCSI_TX_THREAD_NAME);
+	if (IS_ERR(conn->tx_thread)) {
+		pr_err("Unable to start iscsi_target_tx_thread\n");
+		ret = PTR_ERR(conn->tx_thread);
+		goto out_bitmap;
+	}
+	conn->tx_thread_active = true;
+
+	conn->rx_thread = kthread_run(iscsi_target_rx_thread, conn,
+				      "%s", ISCSI_RX_THREAD_NAME);
+	if (IS_ERR(conn->rx_thread)) {
+		pr_err("Unable to start iscsi_target_rx_thread\n");
+		ret = PTR_ERR(conn->rx_thread);
+		goto out_tx;
+	}
+	conn->rx_thread_active = true;
+
+	return 0;
+out_tx:
+	kthread_stop(conn->tx_thread);
+	conn->tx_thread_active = false;
+out_bitmap:
+	spin_lock(&iscsit_global->ts_bitmap_lock);
+	bitmap_release_region(iscsit_global->ts_bitmap, conn->bitmap_id,
+			      get_order(1));
+	spin_unlock(&iscsit_global->ts_bitmap_lock);
+	return ret;
+}
+
 int iscsi_post_login_handler(
 	struct iscsi_np *np,
 	struct iscsi_conn *conn,
@@ -709,7 +754,7 @@ int iscsi_post_login_handler(
 	struct se_session *se_sess = sess->se_sess;
 	struct iscsi_portal_group *tpg = sess->tpg;
 	struct se_portal_group *se_tpg = &tpg->tpg_se_tpg;
-	struct iscsi_thread_set *ts;
+	int rc;
 
 	iscsit_inc_conn_usage_count(conn);
 
@@ -724,7 +769,6 @@ int iscsi_post_login_handler(
 	/*
 	 * SCSI Initiator -> SCSI Target Port Mapping
 	 */
-	ts = iscsi_get_thread_set();
 	if (!zero_tsih) {
 		iscsi_set_session_parameters(sess->sess_ops,
 				conn->param_list, 0);
@@ -751,9 +795,11 @@ int iscsi_post_login_handler(
 			sess->sess_ops->InitiatorName);
 		spin_unlock_bh(&sess->conn_lock);
 
-		iscsi_post_login_start_timers(conn);
+		rc = iscsit_start_kthreads(conn);
+		if (rc)
+			return rc;
 
-		iscsi_activate_thread_set(conn, ts);
+		iscsi_post_login_start_timers(conn);
 		/*
 		 * Determine CPU mask to ensure connection's RX and TX kthreads
 		 * are scheduled on the same CPU.
@@ -810,8 +856,11 @@ int iscsi_post_login_handler(
 		" iSCSI Target Portal Group: %hu\n", tpg->nsessions, tpg->tpgt);
 	spin_unlock_bh(&se_tpg->session_lock);
 
+	rc = iscsit_start_kthreads(conn);
+	if (rc)
+		return rc;
+
 	iscsi_post_login_start_timers(conn);
-	iscsi_activate_thread_set(conn, ts);
 	/*
 	 * Determine CPU mask to ensure connection's RX and TX kthreads
 	 * are scheduled on the same CPU.
-- 
1.9.1


  parent reply	other threads:[~2015-08-27 22:27 UTC|newest]

Thread overview: 138+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 22:09 [3.19.y-ckt stable] Linux 3.19.8-ckt6 stable review Kamal Mostafa
2015-08-27 22:09 ` [PATCH 3.19.y-ckt 001/130] md: use kzalloc() when bitmap is disabled Kamal Mostafa
2015-08-27 22:09 ` [PATCH 3.19.y-ckt 002/130] regulator: s2mps11: Fix GPIO suspend enable shift wrapping bug Kamal Mostafa
2015-08-27 22:09 ` [PATCH 3.19.y-ckt 003/130] iwlwifi: mvm: fix antenna selection when BT is active Kamal Mostafa
2015-08-27 22:09 ` [PATCH 3.19.y-ckt 004/130] HID: cp2112: fix to force single data-report reply Kamal Mostafa
2015-08-27 22:09 ` [PATCH 3.19.y-ckt 005/130] ata: pmp: add quirk for Marvell 4140 SATA PMP Kamal Mostafa
2015-08-27 22:09 ` [PATCH 3.19.y-ckt 006/130] libata: add ATA_HORKAGE_BROKEN_FPDMA_AA quirk for HP 250GB SATA disk VB0250EAVER Kamal Mostafa
2015-08-27 22:09 ` [PATCH 3.19.y-ckt 007/130] efi: Handle memory error structures produced based on old versions of standard Kamal Mostafa
2015-08-27 22:09 ` [PATCH 3.19.y-ckt 008/130] phy: berlin-usb: fix divider for BG2CD Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 009/130] libata: add ATA_HORKAGE_NOTRIM Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 010/130] libata: force disable trim for SuperSSpeed S238 Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 011/130] libata: add ATA_HORKAGE_MAX_SEC_1024 to revert back to previous max_sectors limit Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 012/130] libata: increase the timeout when setting transfer mode Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 013/130] NET: AX.25: Stop heartbeat timer on disconnect Kamal Mostafa
2015-08-28  8:52   ` Richard Stearn
2015-08-28 21:08     ` Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 014/130] can: mcp251x: fix resume when device is down Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 015/130] libata: Do not blacklist M510DC Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 016/130] Input: zforce - don't overwrite the stack Kamal Mostafa
2015-08-27 22:24   ` Dmitry Torokhov
2015-08-27 23:13     ` Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 017/130] mac80211: clear subdir_stations when removing debugfs Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 018/130] ALSA: pcm: Fix lockdep warning with nonatomic PCM ops Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 019/130] iio: adc: vf610: fix the adc register read fail issue Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 020/130] ALSA: hda - Add headset mic support for Acer Aspire V5-573G Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 021/130] Subject: pinctrl: imx1-core: Fix debug output in .pin_config_set callback Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 022/130] ALSA: hda: add new AMD PCI IDs with proper driver caps Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 023/130] x86/mm: Add parenthesis for TLB tracepoint size calculation Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 024/130] x86/mpx: Do not set ->vm_ops on MPX VMAs Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 025/130] net: mvneta: fix refilling for Rx DMA buffers Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 026/130] ALSA: hda - Add new GPU codec ID 0x10de007d to snd-hda Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 027/130] drm/i915: Use two 32bit reads for select 64bit REG_READ ioctls Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 028/130] md/raid10: always set reshape_safe when initializing reshape_position Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 029/130] ALSA: hda - Add headset mic pin quirk for a Dell device Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 030/130] drm: Stop resetting connector state to unknown Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 031/130] usb: dwc3: Reset the transfer resource index on SET_INTERFACE Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 032/130] usb: xhci: Bugfix for NULL pointer deference in xhci_endpoint_init() function Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 033/130] xhci: Calculate old endpoints correctly on device reset Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 034/130] xhci: report U3 when link is in resume state Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 035/130] xhci: prevent bus_suspend if SS port resuming in phase 1 Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 036/130] xhci: do not report PLC when link is in internal resume state Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 037/130] usb: core: lpm: set lpm_capable for root hub device Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 038/130] USB: OHCI: Fix race between ED unlink and URB submission Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 039/130] usb-storage: ignore ZTE MF 823 card reader in mode 0x1225 Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 040/130] blkcg: fix gendisk reference leak in blkg_conf_prep() Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 041/130] mei: prevent unloading mei hw modules while the device is opened Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 042/130] iommu/vt-d: Fix VM domain ID leak Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 043/130] tile: use free_bootmem_late() for initrd Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 044/130] Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 045/130] block: Do a full clone when splitting discard bios Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 046/130] md/raid1: fix test for 'was read error from last working device' Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 047/130] mmc: omap_hsmmc: Fix DTO and DCRC handling Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 048/130] spi: imx: Fix small DMA transfers Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 049/130] ftrace: Fix breakage of set_ftrace_pid Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 050/130] isdn/gigaset: reset tty->receive_room when attaching ser_gigaset Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 051/130] sched: cls_bpf: fix panic on filter replace Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 052/130] net_sched: fix a use-after-free in sfq Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 053/130] serial: core: Fix crashes while echoing when closing Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 054/130] mmc: sdhci-pxav3: fix platform_data is not initialized Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 055/130] mmc: block: Add missing mmc_blk_put() in power_ro_lock_show() Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 056/130] mmc: sdhci-esdhc: Make 8BIT bus work Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 057/130] bonding: correctly handle bonding type change on enslave failure Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 058/130] mmc: sdhci check parameters before call dma_free_coherent Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 059/130] net: Clone skb before setting peeked flag Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 060/130] mtd: nand: Fix NAND_USE_BOUNCE_BUFFER flag conflict Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 061/130] bridge: mdb: fix double add notification Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 062/130] usb: gadget: mv_udc_core: fix phy_regs I/O memory leak Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 063/130] net/xen-netback: off by one in BUG_ON() condition Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 064/130] sched: cls_flow: fix panic on filter replace Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 065/130] ipvlan: use rcu_deference_bh() in ipvlan_queue_xmit() Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 066/130] inet: frags: fix defragmented packet's IP header for af_packet Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 067/130] bonding: fix destruction of bond with devices different from arphrd_ether Kamal Mostafa
2015-08-27 22:10 ` [PATCH 3.19.y-ckt 068/130] fq_codel: fix a use-after-free Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 069/130] ASoC: dapm: Lock during userspace access Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 070/130] dmaengine: pl330: Fix overflow when reporting residue in memcpy Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 071/130] ASoC: dapm: Don't add prefix to widget stream name Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 072/130] ASoC: ssm4567: Keep TDM_BCLKS in ssm4567_set_dai_fmt Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 073/130] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 074/130] ASoC: pcm1681: Fix setting de-emphasis sampling rate selection Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 075/130] qla2xxx: Fix hardware lock/unlock issue causing kernel panic Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 076/130] qla2xxx: release request queue reservation Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 077/130] qla2xxx: Remove msleep in qlt_send_term_exchange Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 078/130] qla2xxx: fix command initialization in target mode Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 079/130] qla2xxx: kill sessions/log out initiator on RSCN and port down events Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 080/130] qla2xxx: cleanup cmd in qla workqueue before processing TMR Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 081/130] qla2xxx: delay plogi/prli ack until existing sessions are deleted Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 082/130] qla2xxx: Abort stale cmds on qla_tgt_wq when plogi arrives Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 083/130] qla2xxx: added sess generations to detect RSCN update races Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 084/130] qla2xxx: disable scsi_transport_fc registration in target mode Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 085/130] qla2xxx: drop cmds/tmrs arrived while session is being deleted Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 086/130] qla2xxx: terminate exchange when command is aborted by LIO Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 087/130] iscsi-target: Fix use-after-free during TPG session shutdown Kamal Mostafa
2015-08-27 22:11 ` Kamal Mostafa [this message]
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 089/130] iscsi-target: Fix iscsit_start_kthreads failure OOPs Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 090/130] iscsi-target: Fix iser explicit logout TX kthread leak Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 091/130] iser-target: Fix REJECT CM event use-after-free OOPs Kamal Mostafa
2015-08-28 21:07   ` Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 092/130] ARM: dts: i.MX35: Fix can support Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 093/130] ALSA: hda - Apply fixup for another Toshiba Satellite S50D Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 094/130] drm/nouveau/fbcon/nv11-: correctly account for ring space usage Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 095/130] vhost: actually track log eventfd file Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 096/130] arm64/efi: map the entire UEFI vendor string before reading it Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 097/130] xfs: remote attribute headers contain an invalid LSN Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 098/130] xfs: remote attributes need to be considered data Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 099/130] ALSA: hda - Apply a fixup to Dell Vostro 5480 Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 100/130] ALSA: usb-audio: add dB range mapping for some devices Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 101/130] drm/i915: Replace WARN inside I915_READ64_2x32 with retry loop Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 102/130] drm/radeon/combios: add some validation of lvds values Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 103/130] drm/i915: Declare the swizzling unknown for L-shaped configurations Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 104/130] x86/efi: Use all 64 bit of efi_memmap in setup_e820() Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 105/130] efi: Check for NULL efi kernel parameters Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 106/130] ipr: Fix locking for unit attention handling Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 107/130] ipr: Fix incorrect trace indexing Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 108/130] ipr: Fix invalid array indexing for HRRQ Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 109/130] scsi: fix memory leak with scsi-mq Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 110/130] ALSA: hda - Fix MacBook Pro 5,2 quirk Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 111/130] x86/xen: Probe target addresses in set_aliased_prot() before the hypercall Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 112/130] packet: tpacket_snd(): fix signed/unsigned comparison Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 113/130] inet: frag: don't re-use chainlist for evictor Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 114/130] bridge: netlink: fix slave_changelink/br_setport race conditions Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 115/130] netfilter: ctnetlink: put back references to master ct and expect objects Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 116/130] NFS: Don't revalidate the mapping if both size and change attr are up to date Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 117/130] bridge: mdb: fix delmdb state in the notification Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 118/130] ipvs: skb_orphan in case of forwarding Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 119/130] avr32: handle NULL as a valid clock object Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 120/130] ipvs: fix crash with sync protocol v0 and FTP Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 121/130] act_pedit: check binding before calling tcf_hash_release() Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 122/130] netfilter: nf_conntrack: Support expectations in different zones Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 123/130] ipvs: do not use random local source address for tunnels Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 124/130] ALSA: hda - fix cs4210_spdif_automute() Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 125/130] niu: don't count tx error twice in case of headroom realloc fails Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 126/130] net: sched: fix refcount imbalance in actions Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 127/130] net/mlx4_core: Fix wrong index in propagating port change event to VFs Kamal Mostafa
2015-08-27 22:11 ` [PATCH 3.19.y-ckt 128/130] packet: missing dev_put() in packet_do_bind() Kamal Mostafa
2015-08-27 22:12 ` [PATCH 3.19.y-ckt 129/130] ipvs: fix crash if scheduler is changed Kamal Mostafa
2015-08-27 22:12 ` [PATCH 3.19.y-ckt 130/130] Revert "sched/x86_64: Don't save flags on context switch" Kamal Mostafa
2015-08-29 16:20   ` Andy Lutomirski
2015-08-31 16:08     ` Kamal Mostafa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1440713521-5906-89-git-send-email-kamal@canonical.com \
    --to=kamal@canonical.com \
    --cc=kernel-team@lists.ubuntu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nab@linux-iscsi.org \
    --cc=stable@vger.kernel.org \
    --cc=valyushash@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®