[PATCH v2 68/84] staging/lustre/lmv: Remove commented out MDS selection policies

2016-02-24 Thread green
From: Oleg Drokin The new DNE code does not use them either so they are not longer needed. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lmv/lmv_obd.c | 45 - 1 file changed, 45 deletions(-) diff --git

[PATCH v2 25/84] staging/lustre: Get rid of C99 comments in lustre_idl.h

2016-02-24 Thread green
From: Oleg Drokin lustre_idl.h contains various protocol data. In order to avoid reusal of values that might have meant something else in the past, the old no longer used values are commented out, convert the comments into regular comments from C99 where appropriate.

[PATCH v2 27/84] staging/lustre: Remove FSF mailing address from GPL notices

2016-02-24 Thread green
From: Oleg Drokin This patch removes remaining several places that still had that extra paragraph included in Lustre code. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h | 5 -

[PATCH v2 11/84] staging/lustre: Remove ldlm type/mode typedefs

2016-02-24 Thread green
From: Oleg Drokin Replace ldlm_mode_t with enum ldlm_mode, ldlm_type_t with enum ldlm_type Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/lustre/lustre_idl.h | 14 drivers/staging/lustre/lustre/include/lustre_dlm.h | 39

[PATCH v2 30/84] staging/lustre: Remove duplicated quota defines

2016-02-24 Thread green
From: Oleg Drokin QUOTABLOCK_BITS, QUOTABLOCK_SIZE and toqb are only used on the server and are copied from kernel code anyway. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 12

[PATCH v2 31/84] staging/lustre: Remove unused struct quota_body

2016-02-24 Thread green
From: Oleg Drokin It's only used for communications between servers. Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/lustre/lustre_idl.h | 31 --- .../lustre/lustre/include/lustre_req_layout.h | 3 --

[PATCH v2 29/84] staging/lustre: Remove *_CONNECT_SUPPORTED defines

2016-02-24 Thread green
From: Oleg Drokin These defines are only used on the servers to determine what connect flags corresponding servers support: MDT_CONNECT_SUPPORTED OST_CONNECT_SUPPORTED MGS_CONNECT_SUPPORTED ECHO_CONNECT_SUPPORTED Signed-off-by: Oleg Drokin ---

[PATCH v2 24/84] staging/lustre: Remove lustre_build_version.h

2016-02-24 Thread green
From: Oleg Drokin of the two macroses is contained the LUSTRE_RELEASE was unused and BUILD_VERSION is too generically named and was replaced with LUSTRE_VERSION_STRING with all the users (provided by lustre_ver.h) With in-kernel client the build version should be combined

[PATCH v2 70/84] staging/lustre: MS_POSIXACL is always defined, don't check for it

2016-02-24 Thread green
From: Oleg Drokin Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/llite_lib.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c

[PATCH v2 65/84] staging/lustre: Convert ptlrpc_at_check_timed to void

2016-02-24 Thread green
From: Oleg Drokin The only caller was not looking at the return value, and liblustre, that cared about it is not part of the kernel client. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ptlrpc/service.c | 10 -- 1 file

[PATCH v2 71/84] staging/lustre: Remove RELEASEPAGE_ARG_TYPE compat macro

2016-02-24 Thread green
From: Oleg Drokin Not used in the kernel proper. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/rw26.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/rw26.c

[PATCH v2 69/84] staging/lustre: F_SETLKW64 F_SETLK64 F_GETLK64 are always defined

2016-02-24 Thread green
From: Oleg Drokin Remove the ifdefs for the around usage. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/file.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/file.c

[PATCH v2 26/84] staging/lustre: Remove server-side changelog defines

2016-02-24 Thread green
From: Oleg Drokin CHANGELOG_MAGIC, CHANGELOG_MINMASK, CHANGELOG_ALLMASK, CHANGELOG_DEFMASK and CHANGELOG_USER_PREFIX are all unused on the client. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 11

[PATCH v2 28/84] staging/lustre: Remove server-only values from enum lu_dirent_attrs

2016-02-24 Thread green
From: Oleg Drokin These values cannot be seen on the client so we probably should not even be aware of them on the client. Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/lustre/lustre_idl.h| 16 1 file changed,

[PATCH v2 67/84] staging/lustre: Remove liblustre references from explanations

2016-02-24 Thread green
From: Oleg Drokin Since liblustre is no longer with us, referencing to it in the explanations only makes things less clear Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/cl_object.h | 4 ++--

[PATCH v2 63/84] staging/lustre: Remove unused liblustre_check_services prototype

2016-02-24 Thread green
From: Oleg Drokin liblustre_check_services is no longer present in the tree. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_net.h | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v2 64/84] staging/lustre: Remove unused lustre_build_lock_params()

2016-02-24 Thread green
From: Oleg Drokin And also struct lustre_rw_params that is only referenced by it. Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/lustre_lite.h| 48 -- 1 file changed, 48 deletions(-) diff --git

[PATCH v2 23/84] staging/lustre/llite: Get rid of se_stat_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum se_stat Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/statahead.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v2 21/84] staging/lustre: Get rid of ldlm_ns_type_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum ldlm_ns_type Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 6 +++--- drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 2 +-

[PATCH v2 18/84] staging/lustre: Get rid of lustre_quota_version typedef

2016-02-24 Thread green
From: Oleg Drokin Does not appear to be used anywhere. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_user.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 20/84] staging/lustre: Remove ldlm_appetite_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum ldlm_appetite Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 8 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 2 +- 2 files changed, 5 insertions(+), 5

[PATCH v2 13/84] staging/lustre: Get rid of obd_cmd_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace with enum obd_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 14/84] staging/lustre: Get rid of llog_op_type typedef

2016-02-24 Thread green
From: Oleg Drokin Replace with enum llog_op_type Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 17/84] staging/lustre: Get rid of lustre_fid typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with struct lu_fid Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/lustre/lustre_idl.h | 2 +- .../lustre/lustre/include/lustre/lustre_user.h | 24 +++--- 2 files changed, 13

[PATCH v2 15/84] staging/lustre: Get rid of sec_cmd_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace with enum sec_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 16/84] staging/lustre: Get rid of object update code

2016-02-24 Thread green
From: Oleg Drokin Object update was originally planned to be used for cross-server updates, so nothign to do with the client. The idea was later significantly reworked anyway so even wire structs should not be retained. This gets rid of update_cmd_t, UPDATE and

[PATCH v2 09/84] staging/lustre: Get rid of mds_reint_t, mdt_reint_t typedefs

2016-02-24 Thread green
From: Oleg Drokin Replace with enum mdt_reint_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 12/84] staging/lustre: Get rid of mgs_cmd_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum mgs_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 03/84] staging/lustre: Get rid of client_obd_lock_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with struct client_obd_lock Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/obd.h | 12 ++-- drivers/staging/lustre/lustre/include/obd.h | 4 ++-- 2 files changed, 8

[PATCH v2 08/84] staging/lustre: Get rid of mds_cmd_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum mds_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 07/84] staging/lustre: Get rid of quota_cmd_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum quota_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 02/84] staging/lustre/fld: Remove useless typedefs

2016-02-24 Thread green
From: Oleg Drokin Typedefs fld_hash_func_t and fld_scan_func_t are used exectly once in the following structure so don't really help anything at all. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fld/fld_internal.h | 9 ++--- 1

[PATCH v2 01/84] staging/lustre/ldlm: Remove unused lr_most_restr from struct ldlm_resource

2016-02-24 Thread green
From: Oleg Drokin This member comes from the dawn of time and is no longer needed Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 3 --- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 3 ---

[PATCH v2 06/84] staging/lustre: Get rid of ost_cmd_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum ost_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 10/84] staging/lustre: Get rid of ldlm_cmd_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum ldlm_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 05/84] staging/lustre: Get rid of cksum_type_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with enum cksum_type Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- drivers/staging/lustre/lustre/include/obd.h | 2 +-

[PATCH v2 04/84] staging/lustre: Get rid of loc_flags_t typedef

2016-02-24 Thread green
From: Oleg Drokin Replace it with direct reference of enum loc_flags Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lu_object.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 00/84] Lustre cleanups

2016-02-24 Thread green
From: Oleg Drokin Due to unfortunate reordering that broke the build in the middle, I am resending the previous patchset with some extra added patches. This contains various Lustre cleanups and coding style fixes, also hunts out various ifdefs that we don't really need and

[PATCH 55/56] staging/lustre/ptlrpc: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ptlrpc/connection.c | 3 +-

[PATCH 28/56] staging/lustre: Remove server-only values from enum lu_dirent_attrs

2016-02-22 Thread green
From: Oleg Drokin These values cannot be seen on the client so we probably should not even be aware of them on the client. Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/lustre/lustre_idl.h| 16 1 file changed,

[PATCH 24/56] staging/lustre: Remove lustre_build_version.h

2016-02-22 Thread green
From: Oleg Drokin of the two macroses is contained the LUSTRE_RELEASE was unused and BUILD_VERSION is too generically named and was replaced with LUSTRE_VERSION_STRING with all the users (provided by lustre_ver.h) With in-kernel client the build version should be combined

[PATCH 50/56] staging/lustre/mdc: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/mdc/mdc_lib.c | 3 +- drivers/staging/lustre/lustre/mdc/mdc_locks.c

[PATCH 53/56] staging/lustre/obdecho: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/obdecho/echo_client.c | 9 ++--- 1 file changed, 6 insertions(+), 3

[PATCH 41/56] staging/lustre: Reformat comments and structures in lustre_idl.h

2016-02-22 Thread green
From: Oleg Drokin This file mostly contains various on the wire data and got significantly mangled in transition. This patch rectifies the situation somewhat. Also fixes the comment style for block comments. Signed-off-by: Oleg Drokin ---

[PATCH 46/56] staging/lustre/ldlm: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/interval_tree.c | 6 +-

[PATCH 38/56] staging/lustre: Remove dead code in ldlm_lock_destroy_internal

2016-02-22 Thread green
From: Oleg Drokin This code has been commented out since end of 2012, so it's clearly not needed here. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 10 -- 1 file changed, 10 deletions(-) diff --git

[PATCH 43/56] staging/lustre/fld: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fld/fld_cache.c| 9 ++---

[PATCH 23/56] staging/lustre/llite: Get rid of se_stat_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum se_stat Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/statahead.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 44/56] staging/lustre/fid: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fid/fid_request.c | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH 20/56] staging/lustre: Remove ldlm_appetite_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum ldlm_appetite Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 8 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 2 +- 2 files changed, 5 insertions(+), 5

[PATCH 18/56] staging/lustre: Get rid of lustre_quota_version typedef

2016-02-22 Thread green
From: Oleg Drokin Does not appear to be used anywhere. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_user.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 39/56] staging/lustre: MAY_NOT_BLOCK is always defined, don't check for it.

2016-02-22 Thread green
From: Oleg Drokin Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/file.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/file.c b/drivers/staging/lustre/lustre/llite/file.c index

[PATCH 40/56] staging/lustre: Remove unused lli_open_count from struct ll_inode_info

2016-02-22 Thread green
From: Oleg Drokin Capabilities code was the only user and it is long gone. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/llite_internal.h | 6 ++ drivers/staging/lustre/lustre/llite/llite_lib.c | 1 - 2 files changed, 2

[PATCH 31/56] staging/lustre: Remove unused struct quota_body

2016-02-22 Thread green
From: Oleg Drokin It's only used for communications between servers. Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/lustre/lustre_idl.h | 31 --- .../lustre/lustre/include/lustre_req_layout.h | 3 --

[PATCH 33/56] staging/lustre: S_DIRSYNC is always defined in kernel

2016-02-22 Thread green
From: Oleg Drokin No need to check for it. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h

[PATCH 36/56] staging/lustre: Remove server data from struct obd_export

2016-02-22 Thread green
From: Oleg Drokin Despite it's name struct obd_export could exist on the client too (used for reverse exports), but all the actual server bits are not needed there, so could be dropped. This is mostly various target-related stuff. Signed-off-by: Oleg Drokin

[PATCH 34/56] staging/lustre: FMODE_READ and FMODE_WRITE are always defined in the kernel

2016-02-22 Thread green
From: Oleg Drokin So no need to see if they are. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 5 - 1 file changed, 5 deletions(-) diff --git

[PATCH 35/56] staging/lustre: Remove index file transfer structures

2016-02-22 Thread green
From: Oleg Drokin struct idx_info, struct lu_idxpage, lustre_swab_idx_info, request formats and related defines are all unused and could only happen for between-servers communications, so remove them from the client code. Signed-off-by: Oleg Drokin

[PATCH 54/56] staging/lustre/osc: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/osc/osc_cache.c | 168 ++---

[PATCH 52/56] staging/lustre/obdclass: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/obdclass/cl_io.c | 13 +++--

[PATCH 56/56] staging/lustre: Fix indentation mistakes

2016-02-22 Thread green
From: Oleg Drokin none look like bugs or bugs-inducing, mostly just off by a couple of spaces all around. Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/lprocfs_status.h | 2 +- .../lustre/lustre/include/lustre/lustre_idl.h |

[PATCH 48/56] staging/lustre/lmv: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lmv/lmv_fld.c| 3 ++- drivers/staging/lustre/lustre/lmv/lmv_intent.c

[PATCH 32/56] staging/lustre: Remove lquota_glb_rec, lquota_slv_rec and lquota_acct_rec

2016-02-22 Thread green
From: Oleg Drokin These server-only structures and some supporting defines are unused on the client. Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/lustre/lustre_idl.h | 52 --

[PATCH 51/56] staging/lustre/mgc: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/mgc/mgc_request.c | 71 - 1 file changed, 46

[PATCH 42/56] staging/lustre/include: Adjust comment style

2016-02-22 Thread green
From: Oleg Drokin This fixes most of the "Block comments use a trailing */ on a separate line" checkpatch warnings, also some slight reformats of structures or comments at places. Signed-off-by: Oleg Drokin ---

[PATCH 14/56] staging/lustre: Get rid of sec_cmd_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace with enum sec_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 29/56] staging/lustre: Remove *_CONNECT_SUPPORTED defines

2016-02-22 Thread green
From: Oleg Drokin These defines are only used on the servers to determine what connect flags corresponding servers support: MDT_CONNECT_SUPPORTED OST_CONNECT_SUPPORTED MGS_CONNECT_SUPPORTED ECHO_CONNECT_SUPPORTED Signed-off-by: Oleg Drokin ---

[PATCH 30/56] staging/lustre: Remove duplicated quota defines

2016-02-22 Thread green
From: Oleg Drokin QUOTABLOCK_BITS, QUOTABLOCK_SIZE and toqb are only used on the server and are copied from kernel code anyway. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 12

[PATCH 45/56] staging/lustre/lclient: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lclient/glimpse.c| 3 ++-

[PATCH 26/56] staging/lustre: Remove server-side changelog defines

2016-02-22 Thread green
From: Oleg Drokin CHANGELOG_MAGIC, CHANGELOG_MINMASK, CHANGELOG_ALLMASK, CHANGELOG_DEFMASK and CHANGELOG_USER_PREFIX are all unused on the client. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 11

[PATCH 25/56] staging/lustre: Get rid of C99 comments in lustre_idl.h

2016-02-22 Thread green
From: Oleg Drokin lustre_idl.h contains various protocol data. In order to avoid reusal of values that might have meant something else in the past, the old no longer used values are commented out, convert the comments into regular comments from C99 where appropriate.

[PATCH 47/56] staging/lustre/llite: Adjust comments to better conform to coding style

2016-02-22 Thread green
e_open(file->f_path.dentry, NULL, 0, it); @@ -654,9 +667,11 @@ restart: /* md_intent_lock() didn't get a request ref if there was an * open error, so don't do cleanup on the request here -* (bug 3430) */ +* (bug 3430) +

[PATCH 19/56] staging/lustre: Get rid of ldlm_error_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum ldlm_error Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 8 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c| 4 ++--

[PATCH 27/56] staging/lustre: Remove FSF mailing address from GPL notices

2016-02-22 Thread green
From: Oleg Drokin This patch removes remaining several places that still had that extra paragraph included in Lustre code. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h | 5 -

[PATCH 16/56] staging/lustre: Get rid of object update code

2016-02-22 Thread green
From: Oleg Drokin Object update was originally planned to be used for cross-server updates, so nothing to do with the client. The idea was later significantly reworked anyway so even wire structs should not be retained. This gets rid of update_cmd_t, UPDATE and

[PATCH 37/56] staging/lustre: Remove last_rcvd-file related data

2016-02-22 Thread green
From: Oleg Drokin last_rcvd (last received) is a special server-side file on the Lustre FS that stores information about server filesystem and also list of connected clients and their state. There's no point in having any of tha ton the client, though. Signed-off-by: Oleg

[PATCH 49/56] staging/lustre/lov: Adjust comments to better conform to coding style

2016-02-22 Thread green
From: Oleg Drokin This patch fixes "Block comments use a trailing */ on a separate line" warnings from checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lov/lov_ea.c | 3 +-

[PATCH 10/56] staging/lustre: Remove ldlm type/mode typedefs

2016-02-22 Thread green
From: Oleg Drokin Replace ldlm_mode_t with enum ldlm_mode, ldlm_type_t with enum ldlm_type Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/lustre/lustre_idl.h | 14 drivers/staging/lustre/lustre/include/lustre_dlm.h | 39

[PATCH 21/56] staging/lustre: Get rid of ldlm_ns_type_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum ldlm_ns_type Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 6 +++--- drivers/staging/lustre/lustre/ldlm/ldlm_lib.c | 2 +-

[PATCH 12/56] staging/lustre: Get rid of obd_cmd_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace with enum obd_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 17/56] staging/lustre: Get rid of lustre_fid typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with struct lu_fid Signed-off-by: Oleg Drokin --- .../lustre/lustre/include/lustre/lustre_idl.h | 2 +- .../lustre/lustre/include/lustre/lustre_user.h | 24 +++--- 2 files changed, 13

[PATCH 11/56] staging/lustre: Get rid of mgs_cmd_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum mgs_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 09/56] staging/lustre: Get rid of ldlm_cmd_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum ldlm_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 15/56] staging/lustre/ldlm: Remove unused lr_most_restr from struct ldlm_resource

2016-02-22 Thread green
From: Oleg Drokin This member comes from the dawn of time and is no longer needed Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 3 --- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 3 ---

[PATCH 13/56] staging/lustre: Get rid of llog_op_type typedef

2016-02-22 Thread green
From: Oleg Drokin Replace with enum llog_op_type Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 22/56] staging/lustre: Get rid of ldlm_cancel_flags_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum ldlm_cancel_flags Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_dlm.h | 18 ++ drivers/staging/lustre/lustre/include/obd.h| 2 +-

[PATCH 06/56] staging/lustre: Get rid of quota_cmd_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum quota_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 03/56] staging/lustre: Get rid of loc_flags_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with direct reference of enum loc_flags Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lu_object.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 07/56] staging/lustre: Get rid of mds_cmd_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum mds_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 00/56] More Lustre cleanups.

2016-02-22 Thread green
From: Oleg Drokin This is another round of Lustre cleanups mostly aimed at fixing checkpatch warnings, but also removing unneeded code and fixign other things I am noticing along the way. Oleg Drokin (56): staging/lustre/fld: Remove useless typedefs staging/lustre: Get

[PATCH 08/56] staging/lustre: Get rid of mds_reint_t, mdt_reint_t typedefs

2016-02-22 Thread green
From: Oleg Drokin Replace with enum mdt_reint_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 04/56] stagig/lustre: Get rid of cksum_type_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum cksum_type Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- drivers/staging/lustre/lustre/include/obd.h | 2 +-

[PATCH 05/56] staging/lustre: Get rid of ost_cmd_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with enum ost_cmd Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 02/56] staging/lustre: Get rid of client_obd_lock_t typedef

2016-02-22 Thread green
From: Oleg Drokin Replace it with struct client_obd_lock Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/linux/obd.h | 12 ++-- drivers/staging/lustre/lustre/include/obd.h | 4 ++-- 2 files changed, 8

[PATCH 01/56] staging/lustre/fld: Remove useless typedefs

2016-02-22 Thread green
From: Oleg Drokin Typedefs fld_hash_func_t and fld_scan_func_t are used exectly once in the following structure so don't really help anything at all. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fld/fld_internal.h | 9 ++--- 1

[PATCH 00/45] Lustre cleanups

2016-02-15 Thread green
From: Oleg Drokin Majority of this patch is Lustre code style cleanups. NULL comparison style is adjusted for the whole lustre tree (but not lnet not to interfere with James patches in flight). Some server-only code was removed in the process. lustre/libcfs in addition

[PATCH 33/45] staging/lustre/libcfs: Shortened too long lines

2016-02-15 Thread green
From: Oleg Drokin Lines that were too long for not good reason were shortened in this patch. Found with checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c | 6 --

[PATCH 40/45] staging/lustre: Get rid of cfs_trace_buf_type_t typedef

2016-02-15 Thread green
From: Oleg Drokin Replace it with enum cfs_trace_buf_type Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c | 2 +- drivers/staging/lustre/lustre/libcfs/tracefile.h | 6 +++--- 2 files changed, 4

[PATCH 36/45] staging/lustre/libcfs: Update comments style to match kernel

2016-02-15 Thread green
From: Oleg Drokin checkpatch complains that the trailing */ on the multiline comments should be on it's own line. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/debug.c | 18 +-

[PATCH 38/45] staging/lustre/libcfs: Remove empty lines after/before braces

2016-02-15 Thread green
From: Oleg Drokin No need for an empty line after opening curvy brace and no need for an empty line before the closing one too. Remove them. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.c| 2 --

<    1   2   3   4   5   6   7   8   >