mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
To: "Linux-iSCSI.org Target Dev"  <linux-iscsi-target-dev@googlegroups.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	linux-scsi <linux-scsi@vger.kernel.org>
Subject: [LIO-Target 0/5]: Convert statically sized structures to kmem_cache
Date: Fri, 09 Jan 2009 12:52:36 -0800	[thread overview]
Message-ID: <1231534356.4560.996.camel@haakon2.linux-iscsi.org> (raw)

Greeings all,

Here are a small series of patches that convert v3.0 LIO-Target data
structures that are statically sized at compile time to use struct
kmem_cache infrastructure.  Also, during the kzalloc()/free ->
kmem_cache_zalloc()/kmem_cache_free() conversion process, two memory
leaks where observed in different exception patchs, and where fixed.  

One was related to iscsi_r2t_t not being freed during
ErrorRecoveryLevel=2 for ISCSI_WRITE, and the other was
iscsi_datain_req_t for ISCSI_READ not being relased during a
NON_EXISTENT_LUN exception, immediately followed by an explict iSCSI
Logout.

These patches are against the lio-core-2.6.git tree, and tested on
v2.6.28.

http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git

[PATCH 1/5] [LIO-Target]: Convert iscsi_queue_req_t to use struct kmem_cache
[PATCH 2/5] [LIO-Target]: Convert iscsi_datain_req_t to use struct kmem_cache
[PATCH 3/5] [LIO-Target]: Convert iscsi_ooo_cmdsn_t to use struct kmem_cache
[PATCH 4/5] [LIO-Target]: Convert iscsi_r2t_t to use struct kmem_cache
[PATCH 5/5] [LIO-Target]: Move iscsi_free_all_datain_reqs() to generic location

--nab


                 reply	other threads:[~2009-01-09 20:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1231534356.4560.996.camel@haakon2.linux-iscsi.org \
    --to=nab@linux-iscsi.org \
    --cc=linux-iscsi-target-dev@googlegroups.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /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®