From: green@linuxhacker.ru
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
devel@driverdev.osuosl.org,
Andreas Dilger <andreas.dilger@intel.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Lustre Development List <lustre-devel@lists.lustre.org>,
Oleg Drokin <green@linuxhacker.ru>
Subject: [PATCH v2 00/46] Lustre IO stack simplifications and cleanups
Date: Wed, 30 Mar 2016 19:48:21 -0400 [thread overview]
Message-ID: <1459381747-2886687-1-git-send-email-green@linuxhacker.ru> (raw)
From: Oleg Drokin <green@linuxhacker.ru>
v2 due to a compile error that was accidentally introduced
in one of the patches. Also added a few more fixes and cleanups
as three additional patches at the end of the series.
This large body of patches mostly deals with Lustre IO stack
simplifications and related cleanups.
In particular the whole cl_page and cl_lock stuff is reduced to
basically nothing.
The simplifications remove about 5K lines of code and the other 5k
are mostly due to shuffling code around and renaming stuff
to get rid of now defunct layers.
Bobi Jam (2):
staging/lustre: update comments after cl_lock simplification
staging/lustre: lov_io_init() should return error code
Jinshan Xiong (14):
staging/lustre: Reintroduce global env list
staging/lustre/osc: Adjustment on osc LRU for performance
staging/lustre/osc: to drop LRU pages with cl_lru_work
staging/lustre/clio: collapse layer of cl_page
staging/lustre/obdclass: Add a preallocated percpu cl_env
staging/lustre/clio: add pages into writeback cache in batches
staging/lustre/osc: add weight function for DLM lock
staging/lustre/clio: remove stackable cl_page completely
staging/lustre/clio: optimize read ahead code
staging/lustre/clio: generalize cl_sync_io
staging/lustre/clio: cl_lock simplification
staging/lustre/llite: clip page correctly for vvp_io_commit_sync
staging/lustre/llite: deadlock for page write
staging/lustre/ldlm: ELC picks locks in a safer policy
John Hammond (5):
staging/lustre/llite: Rename struct ccc_grouplock to ll_grouplock
staging/lustre/llite: Rename struct vvp_thread_info to ll_thread_info
staging/lustre/llite: rename struct ccc_thread_info to vvp_thread_info
staging/lustre/llite: Remove ccc_global_{init,fini}()
staging/lustre/llite: Move several declarations to llite_internal.h
John L. Hammond (15):
staging/lustre: merge lclient/*.c into llite/
staging/lustre/llite: remove lli_lvb
staging/lustre/lmv: remove lmv_init_{lock,unlock}()
staging/lustre/obd: remove struct client_obd_lock
staging/lustre/llite: remove some cl wrappers
staging/lustre/llite: merge lclient.h into llite/vvp_internal.h
staging/lustre/llite: rename ccc_device to vvp_device
staging/lustre/llite: rename ccc_object to vvp_object
staging/lustre/llite: rename ccc_page to vvp_page
staging/lustre/llite: rename ccc_lock to vvp_lock
staging/lustre:llite: remove struct ll_ra_read
staging/lustre/llite: merge ccc_io and vvp_io
staging/lustre/llite: use vui prefix for struct vvp_io members
staging/lustre/llite: move vvp_io functions to vvp_io.c
staging/lustre/llite: rename ccc_req to vvp_req
Li Dongyang (1):
staging/lustre/llite: make sure we do cl_page_clip on the last page
Niu Yawei (1):
staging/lustre/ldlm: revert changes to ldlm_cancel_aged_policy()
Oleg Drokin (6):
staging/lustre/obdclass: limit lu_site hash table size
staging/lustre: Get rid of CFS_PAGE_MASK
staging/lustre: Remove struct ll_iattr
staging/lustre/llite: Move ll_dirent_type_get and make it static
staging/lustre/llite: Remove unused vui_local_lock field
staging/lustre: Fix spacing style before open parenthesis
Vitaly Fertman (2):
staging/lustre/ldlm: restore the ELC for enqueue
staging/lustre/ldlm: Solve a race for LRU lock cancel
.../lustre/include/linux/libcfs/linux/linux-mem.h | 1 -
.../lustre/lnet/libcfs/linux/linux-crypto.c | 2 +-
drivers/staging/lustre/lnet/selftest/brw_test.c | 2 +-
drivers/staging/lustre/lustre/fld/fld_request.c | 14 +-
drivers/staging/lustre/lustre/include/cl_object.h | 962 ++-------
drivers/staging/lustre/lustre/include/lclient.h | 408 ----
drivers/staging/lustre/lustre/include/linux/obd.h | 125 --
drivers/staging/lustre/lustre/include/lu_object.h | 64 +-
.../lustre/lustre/include/lustre/lustre_idl.h | 4 +-
.../lustre/lustre/include/lustre/lustre_user.h | 36 +-
drivers/staging/lustre/lustre/include/lustre_cfg.h | 2 +-
drivers/staging/lustre/lustre/include/lustre_dlm.h | 14 +-
.../staging/lustre/lustre/include/lustre_import.h | 2 +-
drivers/staging/lustre/lustre/include/lustre_lib.h | 36 +-
drivers/staging/lustre/lustre/include/obd.h | 14 +-
drivers/staging/lustre/lustre/lclient/glimpse.c | 270 ---
drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 1203 -----------
.../staging/lustre/lustre/lclient/lcommon_misc.c | 200 --
drivers/staging/lustre/lustre/ldlm/ldlm_internal.h | 10 +-
drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 5 +-
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 19 +-
drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 85 +-
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 1 +
drivers/staging/lustre/lustre/llite/Makefile | 5 +-
drivers/staging/lustre/lustre/llite/dir.c | 24 +-
drivers/staging/lustre/lustre/llite/file.c | 133 +-
drivers/staging/lustre/lustre/llite/glimpse.c | 255 +++
drivers/staging/lustre/lustre/llite/lcommon_cl.c | 327 +++
drivers/staging/lustre/lustre/llite/lcommon_misc.c | 201 ++
drivers/staging/lustre/lustre/llite/llite_close.c | 28 +-
.../staging/lustre/lustre/llite/llite_internal.h | 244 +--
drivers/staging/lustre/lustre/llite/llite_lib.c | 21 +-
drivers/staging/lustre/lustre/llite/llite_mmap.c | 42 +-
drivers/staging/lustre/lustre/llite/lproc_llite.c | 10 +-
drivers/staging/lustre/lustre/llite/rw.c | 363 ++--
drivers/staging/lustre/lustre/llite/rw26.c | 304 ++-
drivers/staging/lustre/lustre/llite/super25.c | 14 +-
drivers/staging/lustre/lustre/llite/vvp_dev.c | 254 ++-
drivers/staging/lustre/lustre/llite/vvp_internal.h | 332 ++-
drivers/staging/lustre/lustre/llite/vvp_io.c | 925 +++++----
drivers/staging/lustre/lustre/llite/vvp_lock.c | 53 +-
drivers/staging/lustre/lustre/llite/vvp_object.c | 141 +-
drivers/staging/lustre/lustre/llite/vvp_page.c | 209 +-
drivers/staging/lustre/lustre/llite/vvp_req.c | 121 ++
drivers/staging/lustre/lustre/lmv/lmv_internal.h | 3 -
drivers/staging/lustre/lustre/lmv/lmv_obd.c | 26 +-
.../staging/lustre/lustre/lov/lov_cl_internal.h | 105 +-
drivers/staging/lustre/lustre/lov/lov_dev.c | 5 +-
drivers/staging/lustre/lustre/lov/lov_internal.h | 2 +
drivers/staging/lustre/lustre/lov/lov_io.c | 233 +--
drivers/staging/lustre/lustre/lov/lov_lock.c | 996 +--------
drivers/staging/lustre/lustre/lov/lov_obd.c | 1 -
drivers/staging/lustre/lustre/lov/lov_object.c | 48 +-
drivers/staging/lustre/lustre/lov/lov_offset.c | 13 +
drivers/staging/lustre/lustre/lov/lov_page.c | 183 +-
drivers/staging/lustre/lustre/lov/lovsub_lock.c | 383 ----
drivers/staging/lustre/lustre/lov/lovsub_page.c | 4 +-
drivers/staging/lustre/lustre/mdc/lproc_mdc.c | 8 +-
drivers/staging/lustre/lustre/mdc/mdc_lib.c | 21 +-
drivers/staging/lustre/lustre/mdc/mdc_request.c | 4 +-
drivers/staging/lustre/lustre/obdclass/cl_io.c | 417 ++--
drivers/staging/lustre/lustre/obdclass/cl_lock.c | 2152 +-------------------
drivers/staging/lustre/lustre/obdclass/cl_object.c | 294 ++-
drivers/staging/lustre/lustre/obdclass/cl_page.c | 654 +-----
drivers/staging/lustre/lustre/obdclass/class_obd.c | 2 +-
drivers/staging/lustre/lustre/obdclass/debug.c | 4 +-
drivers/staging/lustre/lustre/obdclass/lu_object.c | 4 +-
drivers/staging/lustre/lustre/obdclass/obdo.c | 3 +-
.../staging/lustre/lustre/obdecho/echo_client.c | 115 +-
drivers/staging/lustre/lustre/osc/lproc_osc.c | 50 +-
drivers/staging/lustre/lustre/osc/osc_cache.c | 378 +++-
.../staging/lustre/lustre/osc/osc_cl_internal.h | 159 +-
drivers/staging/lustre/lustre/osc/osc_internal.h | 23 +-
drivers/staging/lustre/lustre/osc/osc_io.c | 279 +--
drivers/staging/lustre/lustre/osc/osc_lock.c | 1693 ++++++---------
drivers/staging/lustre/lustre/osc/osc_object.c | 35 +-
drivers/staging/lustre/lustre/osc/osc_page.c | 513 +++--
drivers/staging/lustre/lustre/osc/osc_request.c | 378 ++--
drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c | 16 +-
drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c | 2 +-
drivers/staging/lustre/lustre/ptlrpc/sec_plain.c | 2 +-
81 files changed, 5827 insertions(+), 10866 deletions(-)
delete mode 100644 drivers/staging/lustre/lustre/include/lclient.h
delete mode 100644 drivers/staging/lustre/lustre/include/linux/obd.h
delete mode 100644 drivers/staging/lustre/lustre/lclient/glimpse.c
delete mode 100644 drivers/staging/lustre/lustre/lclient/lcommon_cl.c
delete mode 100644 drivers/staging/lustre/lustre/lclient/lcommon_misc.c
create mode 100644 drivers/staging/lustre/lustre/llite/glimpse.c
create mode 100644 drivers/staging/lustre/lustre/llite/lcommon_cl.c
create mode 100644 drivers/staging/lustre/lustre/llite/lcommon_misc.c
create mode 100644 drivers/staging/lustre/lustre/llite/vvp_req.c
--
2.1.0
next reply other threads:[~2016-03-30 23:49 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-30 23:48 green [this message]
2016-03-30 23:48 ` [PATCH v2 01/46] staging/lustre/obdclass: limit lu_site hash table size green
2016-03-30 23:48 ` [PATCH v2 02/46] staging/lustre: Get rid of CFS_PAGE_MASK green
2016-03-30 23:48 ` [PATCH v2 03/46] staging/lustre: merge lclient/*.c into llite/ green
2016-03-30 23:48 ` [PATCH v2 04/46] staging/lustre: Reintroduce global env list green
2016-03-30 23:48 ` [PATCH v2 05/46] staging/lustre/osc: Adjustment on osc LRU for performance green
2016-03-30 23:48 ` [PATCH v2 06/46] staging/lustre/osc: to drop LRU pages with cl_lru_work green
2016-03-30 23:48 ` [PATCH v2 07/46] staging/lustre/clio: collapse layer of cl_page green
2016-03-30 23:48 ` [PATCH v2 08/46] staging/lustre/obdclass: Add a preallocated percpu cl_env green
2016-03-30 23:48 ` [PATCH v2 09/46] staging/lustre/clio: add pages into writeback cache in batches green
2016-03-30 23:48 ` [PATCH v2 10/46] staging/lustre/osc: add weight function for DLM lock green
2016-03-30 23:48 ` [PATCH v2 11/46] staging/lustre/clio: remove stackable cl_page completely green
2016-03-30 23:48 ` [PATCH v2 12/46] staging/lustre/clio: optimize read ahead code green
2016-03-30 23:48 ` [PATCH v2 13/46] staging/lustre/llite: remove lli_lvb green
2016-03-30 23:48 ` [PATCH v2 14/46] staging/lustre/lmv: remove lmv_init_{lock,unlock}() green
2016-03-30 23:48 ` [PATCH v2 15/46] staging/lustre/obd: remove struct client_obd_lock green
2016-03-30 23:48 ` [PATCH v2 16/46] staging/lustre/llite: remove some cl wrappers green
2016-03-30 23:48 ` [PATCH v2 17/46] staging/lustre: Remove struct ll_iattr green
2016-03-30 23:48 ` [PATCH v2 18/46] staging/lustre/clio: generalize cl_sync_io green
2016-03-30 23:48 ` [PATCH v2 19/46] staging/lustre/clio: cl_lock simplification green
2016-03-30 23:48 ` [PATCH v2 20/46] staging/lustre: update comments after " green
2016-03-30 23:48 ` [PATCH v2 21/46] staging/lustre/llite: clip page correctly for vvp_io_commit_sync green
2016-03-30 23:48 ` [PATCH v2 22/46] staging/lustre/llite: deadlock for page write green
2016-03-30 23:48 ` [PATCH v2 23/46] staging/lustre/llite: make sure we do cl_page_clip on the last page green
2016-03-30 23:48 ` [PATCH v2 24/46] staging/lustre/llite: merge lclient.h into llite/vvp_internal.h green
2016-03-30 23:48 ` [PATCH v2 25/46] staging/lustre/llite: rename ccc_device to vvp_device green
2016-03-30 23:48 ` [PATCH v2 26/46] staging/lustre/llite: rename ccc_object to vvp_object green
2016-03-30 23:48 ` [PATCH v2 27/46] staging/lustre/llite: rename ccc_page to vvp_page green
2016-03-30 23:48 ` [PATCH v2 28/46] staging/lustre/llite: rename ccc_lock to vvp_lock green
2016-03-30 23:48 ` [PATCH v2 29/46] staging/lustre:llite: remove struct ll_ra_read green
2016-03-30 23:48 ` [PATCH v2 30/46] staging/lustre/llite: merge ccc_io and vvp_io green
2016-03-30 23:48 ` [PATCH v2 31/46] staging/lustre/llite: use vui prefix for struct vvp_io members green
2016-03-30 23:48 ` [PATCH v2 32/46] staging/lustre/llite: move vvp_io functions to vvp_io.c green
2016-03-30 23:48 ` [PATCH v2 33/46] staging/lustre/llite: rename ccc_req to vvp_req green
2016-03-30 23:48 ` [PATCH v2 34/46] staging/lustre/llite: Rename struct ccc_grouplock to ll_grouplock green
2016-03-30 23:48 ` [PATCH v2 35/46] staging/lustre/llite: Rename struct vvp_thread_info to ll_thread_info green
2016-03-30 23:48 ` [PATCH v2 36/46] staging/lustre/llite: rename struct ccc_thread_info to vvp_thread_info green
2016-03-30 23:48 ` [PATCH v2 37/46] staging/lustre/llite: Remove ccc_global_{init,fini}() green
2016-03-30 23:48 ` [PATCH v2 38/46] staging/lustre/llite: Move ll_dirent_type_get and make it static green
2016-03-30 23:49 ` [PATCH v2 39/46] staging/lustre/llite: Move several declarations to llite_internal.h green
2016-03-30 23:49 ` [PATCH v2 40/46] staging/lustre/llite: Remove unused vui_local_lock field green
2016-03-30 23:49 ` [PATCH v2 41/46] staging/lustre/ldlm: ELC picks locks in a safer policy green
2016-03-30 23:49 ` [PATCH v2 42/46] staging/lustre/ldlm: revert changes to ldlm_cancel_aged_policy() green
2016-03-30 23:49 ` [PATCH v2 43/46] staging/lustre/ldlm: restore the ELC for enqueue green
2016-03-30 23:49 ` [PATCH v2 44/46] staging/lustre: Fix spacing style before open parenthesis green
2016-03-30 23:49 ` [PATCH v2 45/46] staging/lustre/ldlm: Solve a race for LRU lock cancel green
2016-03-30 23:49 ` [PATCH v2 46/46] staging/lustre: lov_io_init() should return error code green
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=1459381747-2886687-1-git-send-email-green@linuxhacker.ru \
--to=green@linuxhacker.ru \
--cc=andreas.dilger@intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lustre-devel@lists.lustre.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
Powered by JetHome