[PATCH v2 57/84] staging/lustre: Remove stray space before newline in messages

2016-02-24 Thread green
From: Oleg Drokin There were some messages in Lustre that ended with a space followed by a newline which is pointless, so remove the extra spaces. Found with checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/lloop.c

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

2016-02-24 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 v2 83/84] staging/lustre: Remove unneeded {} in lprocfs_stats_unlock()

2016-02-24 Thread green
From: Oleg Drokin Since there's only one call in those if () else branches, the braces are not really necessary. Highlighted by checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lprocfs_status.h | 10 -- 1

[PATCH v2 80/84] staging/lustre/lmv: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lmv/lmv_intent.c | 2 +- drivers/staging/lustre/lustre/lmv/lmv_internal.h | 4

[PATCH v2 76/84] staging/lustre/lov: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/lov/lov_cl_internal.h| 87 +++---

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

2016-02-24 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 v2 61/84] staging/lustre/include: Fix style of function declarations

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" and "space prohibited between function name and open parenthesis" Signed-off-by: Oleg Drokin ---

[PATCH v2 73/84] staging/lustre/ptlrpc: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ptlrpc/client.c | 40 +---

[PATCH v2 62/84] staging/lustre/fld: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/fld/fld_cache.c | 14 +++---

[PATCH v2 74/84] staging/lustre/osc: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/osc/lproc_osc.c | 20 ++---

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

2016-02-24 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 v2 60/84] staging/lustre/llite: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/dcache.c | 3 +- drivers/staging/lustre/lustre/llite/dir.c |

[PATCH v2 58/84] staging/lustre: Remove commented out obd functions

2016-02-24 Thread green
From: Oleg Drokin obd_register_page_removal_cb, obd_unregister_page_removal_cb obd_register_lock_cancel_cb, obd_unregister_lock_cancel_cb Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/obd_class.h | 51 ---

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

2016-02-24 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/llite/dcache.c | 18 ++- drivers/staging/lustre/lustre/llite/dir.c

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

2016-02-24 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 v2 59/84] staging/lustre: Remove unused members of struct ll_sb_info

2016-02-24 Thread green
From: Oleg Drokin ll_orphan_dentry_list and ll_conn_chain are not used and could be removed. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/llite_internal.h | 2 -- drivers/staging/lustre/lustre/llite/llite_lib.c | 4 2

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

2016-02-24 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 v2 66/84] staging/lustre: Remove misleading liblustre comments.

2016-02-24 Thread green
From: Oleg Drokin These two comments certainly refer to some ifdefed code that is no longer present, so remove them too. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/lov/lov_pool.c | 2 -- 1 file changed, 2 deletions(-) diff --git

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

2016-02-24 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 v2 50/84] staging/lustre/mdc: Adjust comments to better conform to coding style

2016-02-24 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 v2 53/84] staging/lustre/obdecho: Adjust comments to better conform to coding style

2016-02-24 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 v2 49/84] staging/lustre/lov: Adjust comments to better conform to coding style

2016-02-24 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 v2 42/84] staging/lustre/include: Adjust comment style

2016-02-24 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 v2 32/84] staging/lustre: Remove lquota_glb_rec, lquota_slv_rec and lquota_acct_rec

2016-02-24 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 v2 48/84] staging/lustre/lmv: Adjust comments to better conform to coding style

2016-02-24 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 v2 46/84] staging/lustre/ldlm: Adjust comments to better conform to coding style

2016-02-24 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 v2 78/84] staging/lustre/mgc: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/mgc/mgc_request.c | 28 - 1 file changed, 14

[PATCH v2 84/84] staging/lustre/ptlrpc: Fix ENABLE_PINGER ifdef

2016-02-24 Thread green
From: Oleg Drokin As it is ENABLE_PINGER is never defined, but in reality it's the code that is now compiled out that should be used since all other instances were converted like that too. Signed-off-by: Oleg Drokin ---

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

2016-02-24 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 v2 44/84] staging/lustre/fid: Adjust comments to better conform to coding style

2016-02-24 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 v2 79/84] staging/lustre/obdecho: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/obdecho/echo_client.c| 22 +++--- 1 file changed, 11

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

2016-02-24 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 v2 40/84] staging/lustre: Remove unused lli_open_count from struct ll_inode_info

2016-02-24 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 v2 33/84] staging/lustre: S_DIRSYNC is always defined in kernel

2016-02-24 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 v2 81/84] staging/lustre: Fix lines that start with spaces

2016-02-24 Thread green
From: Oleg Drokin Found with checkpatch. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/include/lustre_cfg.h | 2 +- drivers/staging/lustre/lustre/include/lustre_dlm.h | 4 ++-- drivers/staging/lustre/lustre/llite/llite_nfs.c| 6

[PATCH v2 39/84] staging/lustre: MAY_NOT_BLOCK 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/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 v2 82/84] staging/lustre: Rework MAX_DIO_SIZE macro

2016-02-24 Thread green
From: Oleg Drokin KMALLOC_MAX_SIZE is always defined in the kernel, so no point in checking for it, just use t directly. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/llite/rw26.c | 10 ++ 1 file changed, 2 insertions(+), 8

[PATCH v2 75/84] staging/lustre/obdclass: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/obdclass/cl_io.c | 20 ++-- drivers/staging/lustre/lustre/obdclass/cl_lock.c

[PATCH v2 77/84] staging/lustre/mdc: Fix style vs open parenthesis alignment

2016-02-24 Thread green
From: Oleg Drokin This mostly fixes checkpatch complaints about "Alignment should match open parenthesis" Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/mdc/mdc_internal.h | 2 +- drivers/staging/lustre/lustre/mdc/mdc_locks.c| 26

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

2016-02-24 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 v2 43/84] staging/lustre/fld: Adjust comments to better conform to coding style

2016-02-24 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 v2 38/84] staging/lustre: Remove dead code in ldlm_lock_destroy_internal

2016-02-24 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 v2 37/84] staging/lustre: Remove last_rcvd-file related data

2016-02-24 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 v2 72/84] staging/lustre: NEED_QUOTA_DEFS is never defined, drop it.

2016-02-24 Thread green
From: Oleg Drokin Signed-off-by: Oleg Drokin --- .../staging/lustre/lustre/include/lustre/lustre_user.h | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_user.h

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

2016-02-24 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 v2 19/84] staging/lustre: Get rid of ldlm_error_t typedef

2016-02-24 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 v2 35/84] staging/lustre: Remove index file transfer structures

2016-02-24 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 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 4/9] staging: wilc1000: rename ReqIEsLen in struct connec_info

2016-02-24 Thread Chaehyun Lim
This patch renames ReqIEsLen to req_ies_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2

[PATCH 9/9] staging: wilc1000: rename u16reason in disconnect_info

2016-02-24 Thread Chaehyun Lim
This patch renames u16reason to reason to remove u16 prefix. There is no need to use prefix to show data type. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 4 ++--

[PATCH 7/9] staging: wilc1000: rename u16ConnectStatus in struct connect_info

2016-02-24 Thread Chaehyun Lim
This patch renames u16ConnectStatus to status to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 10 +-

[PATCH 3/9] staging: wilc1000: rename pu8ReqIEs in struct connect_info

2016-02-24 Thread Chaehyun Lim
This patch renames pu8ReqIEs to req_ies to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 24 +++

[PATCH 8/9] staging: wilc1000: rename struct tstrDisconnectNotifInfo

2016-02-24 Thread Chaehyun Lim
This patch renames struct tstrDisconnectNotifInfo to disconnect_info to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 4 ++-- drivers/staging/wilc1000/host_interface.c | 8

[PATCH 6/9] staging: wilc1000: rename u16RespIEsLen in struct connect_info

2016-02-24 Thread Chaehyun Lim
This patch renames u16RespIEsLen to resp_ies_len to avoid camelcase. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2

[PATCH 2/9] staging: wilc1000: rename au8bssid in struct connect_info

2016-02-24 Thread Chaehyun Lim
This patch renames au8bssid to bssid to remove au8 prefix in struct connect_info. There is no need to use prefix to show data type of this variable. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +-

[PATCH 1/9] staging: wilc1000: rename struct tstrConnectInfo

2016-02-24 Thread Chaehyun Lim
This patch renames struct tstrConnectInfo to connect_info to avoid camelcase and removes typedef. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/coreconfigurator.h | 4 ++-- drivers/staging/wilc1000/host_interface.c | 12 ++--

RE: [PATCH] Drivers: hv: util: fix a race with daemons startup

2016-02-24 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, February 18, 2016 5:35 AM > To: de...@linuxdriverproject.org > Cc: KY Srinivasan ; Haiyang Zhang > ; Olaf Hering ; Cathy Avery >

[PATCH 4/5] hv: Reverse order of resources in hyperv_mmio

2016-02-24 Thread jakeo
From: Jake Oshins A patch later in this series allocates child nodes in this resource tree. For that to work, this tree needs to be sorted in ascending order. Signed-off-by: Jake Oshins --- drivers/hv/vmbus_drv.c | 3 +-- 1 file changed, 1

[PATCH 5/5] hv: Track allocations of children of hv_vmbus in private resource tree

2016-02-24 Thread jakeo
From: Jake Oshins This patch changes vmbus_allocate_mmio() and vmbus_free_mmio() so that when child paravirtual devices allocate memory-mapped I/O space, they allocate it privately from a resource tree pointed at by hyperv_mmio and also by the public resource tree

[PATCH 1/5] hv: Make a function to free mmio regions through vmbus

2016-02-24 Thread jakeo
From: Jake Oshins This patch introduces a function that reverses everything done by vmbus_allocate_mmio(). Existing code just called release_mem_region(). Future patches in this series require a more complex sequence of actions, so this function is introduced to wrap those

[PATCH 2/5] hv: Lock access to hyperv_mmio resource tree

2016-02-24 Thread jakeo
From: Jake Oshins In existing code, this tree of resources is created in single-threaded code and never modified after it is created, and thus needs no locking. This patch introduces a semaphore for tree access, as other patches in this series introduce run-time

[PATCH 0/5] hv: drivers: Ensure that bridge windows don't overlap

2016-02-24 Thread jakeo
From: Jake Oshins Hyper-V VMs expose paravirtual drivers through a mechanism called VMBus, which is managed by hv_vmbus.ko. For each paravirtual service instance, this driver exposes a new child device. Some of these child devices need memory address space, into which

[PATCH 3/5] hv: Use new vmbus_mmio_free() from client drivers.

2016-02-24 Thread jakeo
From: Jake Oshins This patch modifies all the callers of vmbus_mmio_allocate() to call vmbus_mmio_free() instead of release_mem_region(). Signed-off-by: Jake Oshins --- drivers/pci/host/pci-hyperv.c | 14 +++---

  1   2   >