From: Yi Zou <yi.zou@intel.com>
To: linux-scsi@vger.kernel.org
Cc: devel@open-fcoe.org
Subject: [PATCH 0/4] [FCoE] Remove sa_hash_xxx:series short description
Date: Wed, 13 Feb 2008 11:09:47 -0800 [thread overview]
Message-ID: <20080213190608.23885.66646.stgit@localhost.localdomain> (raw)
The following series remove use of all sa_hash_xxx in hash table operations
for fc_local_port, fc_remote_port, and fc_sess. sa_hash_kern.c and sa_hash.h
are removed. All abstraction using sa_hash_xxx are removed and replaced by
using hlist_head, hlist_node directly. Hash functions are in their own module
now for fc_remote_port and fc_sess.
For fc_local_port, the hash is completely removed since there is always going
to be just one fc_local_port per openfc/fcoe. For fc_remote_port, the hash by
wwpn is removed with hash by remote port FCID already there. Hash entry
counters are removed as they are used only in debugging/printting routines.
All debugging/testing functions, e.g. hash table iterate, print, are removed
as well.
Note that fc_virt_fab struct is still the place holder for the hash tables,
which eventually will be in fcs_state struct once fc_virt_fab is merged with
the fcs_state struct.
---
Yi Zou (4):
[FCoE] 4. remove sa_hash_kern.c/sa_hash.h
[FCoE] 3. remove hash table for fc_local_port
[FCoE] 2. hash for fc_sess: do not use sa_hash_xxx
[FCoE] 1. hash for fc_remote_port: do not use sa_hash_xxx
drivers/scsi/ofc/include/fc_local_port.h | 6
drivers/scsi/ofc/include/fc_remote_port.h | 4
drivers/scsi/ofc/include/fc_sess.h | 3
drivers/scsi/ofc/include/sa_hash.h | 65 -----
drivers/scsi/ofc/libfc/fc_exch.c | 1
drivers/scsi/ofc/libfc/fc_local_port.c | 85 -------
drivers/scsi/ofc/libfc/fc_local_port_impl.h | 4
drivers/scsi/ofc/libfc/fc_remote_port.c | 325 ++++++++++++---------------
drivers/scsi/ofc/libfc/fc_sess.c | 214 +++++++++++-------
drivers/scsi/ofc/libfc/fc_sess_impl.h | 3
drivers/scsi/ofc/libfc/fc_virt_fab.c | 5
drivers/scsi/ofc/libfc/fc_virt_fab_impl.h | 10 -
drivers/scsi/ofc/libsa/Makefile | 4
drivers/scsi/ofc/libsa/sa_hash_kern.c | 141 ------------
14 files changed, 298 insertions(+), 572 deletions(-)
delete mode 100644 drivers/scsi/ofc/include/sa_hash.h
delete mode 100644 drivers/scsi/ofc/libsa/sa_hash_kern.c
--
Yi Zou <yi.zou@intel.com>
next reply other threads:[~2008-02-13 19:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 19:09 Yi Zou [this message]
2008-02-13 19:09 ` [PATCH 1/4] [FCoE] hash for fc_remote_port: do not use sa_hash_xxx Yi Zou
2008-02-13 19:09 ` [PATCH 2/4] [FCoE] hash for fc_sess: " Yi Zou
2008-02-13 19:10 ` [PATCH 3/4] [FCoE] remove hash table for fc_local_port Yi Zou
2008-02-13 19:10 ` [PATCH 4/4] [FCoE] remove sa_hash_kern.c/sa_hash.h Yi Zou
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=20080213190608.23885.66646.stgit@localhost.localdomain \
--to=yi.zou@intel.com \
--cc=devel@open-fcoe.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