[PATCH 075/124] staging: lustre: recovery: don't replay closed open

2016-09-18 Thread James Simmons
okin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ptlrpc/client.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lustre/ptlrpc/client.c b/drivers/staging/lustre/lustre

[PATCH 030/124] staging: lustre: llite: Replace write mutex with range lock

2016-09-18 Thread James Simmons
der.bo...@seagate.com> Reviewed-by: Hiroya Nozaki <nozaki.hir...@jp.fujitsu.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustr

[PATCH 086/124] staging: lustre: obdclass: eliminate NULL error return

2016-09-18 Thread James Simmons
ug-id: https://jira.hpdd.intel.com/browse/LU-5858 Reviewed-on: http://review.whamcloud.com/12554 Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com> Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.

[PATCH 049/124] staging: lustre: lmv: move some inline functions to lustre_lmv.h

2016-09-18 Thread James Simmons
<fan.y...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5519 Reviewed-on: http://review.whamcloud.com/11845 Reviewed-by: Alex Zhuravlev <alexey.zhurav...@intel.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com>

[PATCH 054/124] staging: lustre: llite: Add ioctl to get parent fids from link EA.

2016-09-18 Thread James Simmons
;john.hamm...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h |8 ++ .../lustre/lustre/include/lustre/lustre_user.h |1 + drivers/staging/lustre/lustr

[PATCH 080/124] staging: lustre: llite: fix dup flags names

2016-09-18 Thread James Simmons
ug-id: https://jira.hpdd.intel.com/browse/LU-5586 Reviewed-on: http://review.whamcloud.com/12892 Reviewed-by: Minh Diep <minh.d...@intel.com> Reviewed-by: Jian Yu <jian...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.or

[PATCH 079/124] staging: lustre: mgc: add nid iteration

2016-09-18 Thread James Simmons
dd.intel.com/browse/LU-5950 Xyratex-bug-id: MRP-2255 Reviewed-on: http://review.whamcloud.com/12829 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Mike Pershin <mike.pers...@intel.com> Reviewed-by: Ann Koehler <a...@cray.com> Signed-off-by: James Simmons <jsi

[PATCH 077/124] staging: lustre: ptlrpc: quiet errors on initial connection

2016-09-18 Thread James Simmons
com/10057 Reviewed-by: Bobi Jam <bobi...@gmail.com> Reviewed-by: Bob Glossman <bob.gloss...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ptlrpc/client.c | 52 +++-

[PATCH 046/124] staging: lustre: llite: handle concurrent use of cob_transient_pages

2016-09-18 Thread James Simmons
y: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/rw26.c |4 drivers/staging/lustre/lustre/llite/vvp_internal.h |9 + drivers/staging/lustre/lustre/llite/vvp_object.c |6 +

[PATCH 073/124] staging: lustre: llite: remove ll_objects_destroy()

2016-09-18 Thread James Simmons
-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging

[PATCH 051/124] staging: lustre: llite: ensure all data flush out when umount

2016-09-18 Thread James Simmons
e/LU-5584 Reviewed-on: http://review.whamcloud.com/12103 Reviewed-by: Bobi Jam <bobi...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/llite_lib.c | 15 ---

[PATCH 040/124] staging: lustre: obd: rename LUSTRE_STRIPE_MAXBYTES

2016-09-18 Thread James Simmons
wed-on: http://review.whamcloud.com/11800 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Bob Glossman <bob.gloss...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/obd.h|8 +--- drivers/stag

[PATCH 082/124] staging: lustre: mdc: Proper accessing struct lov_user_md

2016-09-18 Thread James Simmons
ud.com/12683 Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Yang Sheng <yang.sh...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/

[PATCH 034/124] staging: lustre: llite: turn mode to umode_t for ll_new_inode()

2016-09-18 Thread James Simmons
l.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/namei.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers

[PATCH 066/124] staging: lustre: lov: remove LL_IOC_RECREATE_{FID, OBJ}

2016-09-18 Thread James Simmons
ammond <john.hamm...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5814 Reviewed-on: http://review.whamcloud.com/12442 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Bobi Jam <bobi...@gmail.com> Signed-off-by: James Simmons <jsimm...@infradead.

[PATCH 033/124] staging: lustre: llite: remove mode from ll_create_it()

2016-09-18 Thread James Simmons
eng <yang.sh...@intel.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/namei.c |8 1 files changed, 4 insertions(+),

[PATCH 018/124] staging: lustre: obdclass: fix comparison between signed and unsigned

2016-09-18 Thread James Simmons
gt; Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/lu_object.h |2 +- drivers/staging/lustre/lustre/obdclass/lu_object.c |

[PATCH 000/124] missing patches from Lustre 2.7 release

2016-09-18 Thread James Simmons
staging: lustre: changelog: Proper record remapping James Simmons (4): staging: lustre: ldlm: restore some of the interval functionality staging: lustre: obd: restore linkea support staging: lustre: obd: use proper flags for call_usermodehelper staging: lustre: update version to 2.5.99 Jian Yu

[PATCH 070/124] staging: lustre: statahead: small fixes and cleanup

2016-09-18 Thread James Simmons
wed-on: http://review.whamcloud.com/13708 Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Bobi Jam <bobi...@hotmail.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.

[PATCH 032/124] staging: lustre: llite: remove lookup_flags from ll_lookup_it()

2016-09-18 Thread James Simmons
769 Reviewed-by: Yang Sheng <yang.sh...@intel.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/namei.c | 14 +- 1 files c

[PATCH 041/124] staging: lustre: llite: don't call make_bad_inode() on an old inode

2016-09-18 Thread James Simmons
wed-on: http://review.whamcloud.com/11609 Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/

[PATCH 058/124] staging: lustre: statahead: race in start/stop statahead

2016-09-18 Thread James Simmons
wed-on: http://review.whamcloud.com/9666 Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lu

[PATCH 067/124] staging: lustre: changelog: fix comparison between signed and unsigned

2016-09-18 Thread James Simmons
hamcloud.com/12474 Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: James Nunez <james.a.nu...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_u

[PATCH 068/124] staging: lustre: lov: remove unused {get, set}_info handlers

2016-09-18 Thread James Simmons
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5814 Reviewed-on: http://review.whamcloud.com/12445 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Bobi Jam <bobi...@gmail.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/stagi

[PATCH 063/124] staging: lustre: ldlm: count of pools is unsigned long

2016-09-18 Thread James Simmons
wed-on: http://review.whamcloud.com/12304 Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ldlm/ldl

[PATCH 062/124] staging: lustre: replace direct HZ access with kernel APIs

2016-09-18 Thread James Simmons
b.gloss...@intel.com> Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Nathaniel Clark <nathaniel.l.cl...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsi

[PATCH 069/124] staging: lustre: fix messages with missing newlines

2016-09-18 Thread James Simmons
551 Reviewed-on: http://review.whamcloud.com/11996 Reviewed-by: James Nunez <james.a.nu...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ldlm/ldlm_pool.c |4 dri

[PATCH 056/124] staging: lustre: statahead: use dcache-like interface for sa entry

2016-09-18 Thread James Simmons
longer. ll_statahead_interpret() doesn't need to take sai refcount, because statahead thread will wait for all inflight RPC to finish. Signed-off-by: Lai Siyao <lai.si...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3270 Reviewed-on: http://review.whamcloud.com/9664 Reviewed-by: James Si

[PATCH 060/124] staging: lustre: mdc: fix comparison between signed and unsigned

2016-09-18 Thread James Simmons
f-by: Dmitry Eremin <dmitry.ere...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5577 Reviewed-on: http://review.whamcloud.com/11379 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro..

[PATCH 016/124] staging: lustre: fix comparison between signed and unsigned

2016-09-18 Thread James Simmons
mitry.ere...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5417 Reviewed-on: http://review.whamcloud.com/11327 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signe

[PATCH 064/124] staging: lustre: lu_dirent_calc_size() return type to size_t

2016-09-18 Thread James Simmons
mm...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h | 15 +++ 1 files changed, 3 insertions(+), 1

[PATCH 050/124] staging: lustre: ldlm: per-export lock callback timeout

2016-09-18 Thread James Simmons
mcloud.com/9336 Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ldlm/ldlm_internal.h |2 +- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c |

[PATCH 055/124] staging: lustre: llite: allow setting stripes to specify OSTs

2016-09-18 Thread James Simmons
<jian...@intel.com> Signed-off-by: Jinshan Xiong <jinshan.xi...@intel.com> Signed-off-by: James Simmons <uja.o...@gmail.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4665 Reviewed-on: http://review.whamcloud.com/9383 Reviewed-by: Andreas Dilger <andreas.dil...@int

[PATCH 038/124] staging: lustre: osc: debug to match extent to brw RPC

2016-09-18 Thread James Simmons
; Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/osc/osc_request.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/staging/lustre/lustre/osc/osc_request.c b/drivers/stagi

[PATCH 057/124] staging: lustre: statahead: ll_intent_drop_lock() called in spinlock

2016-09-18 Thread James Simmons
Yong <fan.y...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/statahead.c | 24 -- 1 files ch

[PATCH 071/124] staging: lustre: obd: remove unused obd methods

2016-09-18 Thread James Simmons
ug-id: https://jira.hpdd.intel.com/browse/LU-2785 Reviewed-on: http://review.whamcloud.com/8547 Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@in

[PATCH 065/124] staging: lustre: obdclass: change lu_site->ls_purge_start to unsigned

2016-09-18 Thread James Simmons
mm...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/lu_object.h |2 +- drivers/staging/lustre/lustre/obdclass/lu_ob

[PATCH 042/124] staging: lustre: obd: change type of lmv_tgt_desc->ltd_idx to u32

2016-09-18 Thread James Simmons
l.com> Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/obd.h|2 +- drivers/staging/lustre/lustre/lmv/lmv_intent.c |8 ---

[PATCH 024/124] staging: lustre: remove RCU2HANDLE macro

2016-09-18 Thread James Simmons
<andreas.dil...@intel.com> Reviewed-by: Bob Glossman <bob.gloss...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../staging/lustre/lustre/include/lustre_handles.h |2 -- .../lustre/lustre/obdclass/lustre_handles.c|7 +-- 2 files changed

[PATCH 028/124] staging: lustre: ldlm: resend AST callbacks

2016-09-18 Thread James Simmons
om> Xyratex-bug-id: MRP-417 Reviewed-on: http://review.whamcloud.com/9335 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Johann Lombardi <johann.lomba...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@in

[PATCH 037/124] staging: lustre: cleanup lustre_lib.h

2016-09-18 Thread James Simmons
hamcloud.com/11500 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Bob Glossman <bob.gloss...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustr

[PATCH 036/124] staging: lustre: llite: no need to check dentry is NULL

2016-09-18 Thread James Simmons
dd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/10769 Reviewed-by: Yang Sheng <yang.sh...@intel.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> ---

[PATCH 012/124] staging: lustre: lmv: fix some byte order issues

2016-09-18 Thread James Simmons
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5342 Reviewed-on: http://review.whamcloud.com/11106 Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com> Reviewed-by: Jian Yu <jian...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James S

[PATCH 027/124] staging: lustre: ldlm: reconstruct proper flags on enqueue resend

2016-09-18 Thread James Simmons
wed-on: http://review.whamcloud.com/11644 Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ldlm/ldlm_flock.c |3 +-- drivers/staging/lustre/lus

[PATCH 007/124] staging: lustre: obd: add lnb_ prefix to members of struct niobuf_local

2016-09-18 Thread James Simmons
ntel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/obd.h| 10 +- .../staging/lustre/lustre/obdecho/echo_client.c|6 +++--- 2 files changed, 8 insertions(+), 8

[PATCH 029/124] staging: lustre: ldlm: restore some of the interval functionality

2016-09-18 Thread James Simmons
Earlier a bunch of interval handling got removed since it wasn't used by the upstream client. Now some of it is needed again for the client code so this patch restores what is needed. Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../staging/lustre/lustre/include/interval_

[PATCH 002/124] staging: lustre: ptlrpc: enlarge OST_MAXREQSIZE for 4MB RPC

2016-09-18 Thread James Simmons
dreas Dilger <andreas.dil...@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/

[PATCH 025/124] staging: lustre: llite: Compare of unsigned value against 0 is always true

2016-09-18 Thread James Simmons
n L. Hammond <john.hamm...@intel.com> Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/lproc_llite.c |2 +- 1 files changed, 1 insertions(+),

[PATCH 019/124] staging: lustre: ptlrpc: fix magic return value of ptlrpc_init_portals

2016-09-18 Thread James Simmons
mitry Eremin <dmitry.ere...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lus

[PATCH 011/124] staging: lustre: llite: update ras stride offset

2016-09-18 Thread James Simmons
y: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/rw.c | 18 +++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/rw.c b/drivers/staging/lu

[PATCH 021/124] staging: lustre: build: bump build version warnings to x.y.53

2016-09-18 Thread James Simmons
ira.hpdd.intel.com/browse/LU-4217 Reviewed-on: http://review.whamcloud.com/8630 Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Tested-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../staging/lustre/lustre/include/lustre_import.

[PATCH 006/124] staging: lustre: lmv: Do not ignore ENOENT in lmv_unlink

2016-09-18 Thread James Simmons
ud.com/11170 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/lmv/lmv_obd.c |

[PATCH 053/124] staging: lustre: obd: restore linkea support

2016-09-18 Thread James Simmons
Original linkea was only used for the lustre server code so it was removed from the upstream client. Now it needs to be restored for client work that uses this infrastructure. Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/lu_object.h

[PATCH 004/124] staging: lustre: lmv: honor MDT index when creating volatile file

2016-09-18 Thread James Simmons
691 Reviewed-on: http://review.whamcloud.com/10866 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Henri Doreau <henri.dor...@cea.fr> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre

[PATCH 013/124] staging: lustre: osc: update kms in brw_interpret() properly

2016-09-18 Thread James Simmons
hamcloud.com/11374 Reviewed-by: Bobi Jam <bobi...@gmail.com> Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Li Dongyang <dongyang...@anu.edu.au> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org&

[PATCH 009/124] staging: lustre: obdclass: serialize lu_site purge

2016-09-18 Thread James Simmons
099 Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Mike Pershin <mike.pers...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/lu_object.h |5 + dr

[PATCH 015/124] staging: lustre: clio: lu_ref_del() mismatch ref add scope

2016-09-18 Thread James Simmons
y: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/vvp_io.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/l

[PATCH 003/124] staging: lustre: ldlm: fix a use after free in ldlm_resource_get()

2016-09-18 Thread James Simmons
wed-on: http://review.whamcloud.com/11017 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Emoly Liu <emoly@intel.com> Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/l

Re: [PATCH] staging: lustre: lmv: add missing function declaration

2016-09-18 Thread James Simmons
> We get 1 warning when building kernel with W=1: > drivers/staging/lustre/lustre/lmv/lmv_obd.c:2774:5: warning: no previous > prototype for 'lmv_pack_md' [-Wmissing-prototypes] > > In fact, this function is not declared in any file,but should be > declared in a header file, thus can be

Re: [PATCH] staging/lustre/lov: add missing header dependencies

2016-09-08 Thread James Simmons
> We get 1 warning when building kernel with W=1: > drivers/staging/lustre/lustre/lov/lov_object.c:956:23: warning: no previous > prototype for 'lov_lsm_get' [-Wmissing-prototypes] > drivers/staging/lustre/lustre/lov/lov_object.c:972:6: warning: no previous > prototype for 'lov_lsm_put'

Re: [PATCH] staging/lustre/obdclass: add missing header dependencies

2016-09-08 Thread James Simmons
patch add missing header dependencies. > > Signed-off-by: Baoyou Xie <baoyou....@linaro.org> Acked-by: James Simmons <jsimm...@infradead.org> > --- > drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c | 1 + > 1 file changed, 1 insertion(+) > > diff -

Re: [PATCH 2/2] staging: lustre: hide unused variable

2016-08-31 Thread James Simmons
d variable > 'lli' [-Werror=unused-variable] > > This puts the variable declaration into the same #ifdef. > > Signed-off-by: Arnd Bergmann <a...@arndb.de> > Fixes: 1e1f9ff406fd ("staging: lustre: llite: break ll_getxattr_common into 2 > functions&quo

Re: [PATCH 1/2] staging: lustre: fix unstable pages tracking

2016-08-31 Thread James Simmons
f30e639b ("staging: lustre: osc: revise unstable pages accounting") > Fixes: 11fb998986a7 ("mm: move most file-based accounting to the node") Thanks for fixing things. I couldn't reproduce this problem on x86. Reviewed-by: James Simmons <jsimm...@infradead.org> > --- >

Re: [PATCH 0/7] staging: lustre: last missing patches for lustre 2.6

2016-08-22 Thread James Simmons
> On Fri, 2016-08-19 at 20:44 +0100, James Simmons wrote: > > > 1: I'd like to see the lustre #include files separated into > > >    only two internal/external directories akin to the > > >    include/linux and include/uapi directories used by linux. >

Re: [linux-next:master 1892/3082] drivers/staging/lustre/lustre/llite/xattr.c:309:24: warning: unused variable 'lli'

2016-08-22 Thread James Simmons
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > master > head: d18b09e429ad4520272dcdcd8faa01aabc171fd0 > commit: 1e1f9ff406fd5f6003a5dab2ab5a26c4c5bb8cbd [1892/3082] staging: lustre: > llite: break ll_getxattr_common into 2 functions > config:

[PATCH] staging: lustre: mdc: fix NULL pointer dereference in mdc_adjust_dirpages

2016-08-22 Thread James Simmons
it was kmapped. Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/mdc/mdc_request.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lustre/mdc/mdc_request.c b/drivers/staging/lustre/lustre/mdc/mdc_request.c index 8

Re: [staging:staging-testing 201/347] drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: error: 'dp' undeclared

2016-08-22 Thread James Simmons
> On Mon, Aug 22, 2016 at 03:15:23PM +0800, kbuild test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > > staging-testing > > head: f5a9a15f8fd4168e415e94f5dce367f3cef08e03 > > commit: 4f76f0ec093c2f9ef049495c78d486bfb48e4de0 [201/347] staging:

Re: [PATCH 0/7] staging: lustre: last missing patches for lustre 2.6

2016-08-19 Thread James Simmons
> On Fri, 2016-08-19 at 14:07 -0400, James Simmons wrote: > > Resolved the last remain bug that prevented earlier submission. > > This covers the remaining patches that were missing from the > > upstream client that was in Lustre 2.6 except for the work for > > LU

[PATCH 0/7] staging: lustre: last missing patches for lustre 2.6

2016-08-19 Thread James Simmons
client. That will be done at a later date. In reality this is a pre-2.7 client due to the landing of many patches earlier from lustre 2.7. In any case this is a huge milestone for the lustre client in the linux kernel. James Simmons (1): staging: lustre: update version to 2.5.99 Jian Yu (1

[PATCH 2/7] staging: lustre: llite: move dir cache to MDC layer

2016-08-19 Thread James Simmons
d-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../s

[PATCH 7/7] staging: lustre: update version to 2.5.99

2016-08-19 Thread James Simmons
With all but one of the the missing patches from the lustre 2.6 version merged upstream its time to update the upstream clients version. Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/lustre_ver.h |4 ++-- 1 files changed, 2 insertions

[PATCH 6/7] staging: lustre: obd: decruft md_enqueue() and md_intent_lock()

2016-08-19 Thread James Simmons
viewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/obd.h |7 +- drivers/staging/lustre/lustre/include/obd_class.h | 18 ++---

[PATCH 3/7] staging: lustre: obd: remove unused lmv_readpages()/mdc_readpage()

2016-08-19 Thread James Simmons
..@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4669 Reviewed-on: http://review.whamcloud.com/9810 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org>

[PATCH 4/7] staging: lustre: mdt: add OBD_CONNECT_DIR_STRIPE flag

2016-08-19 Thread James Simmons
viewed-on: http://review.whamcloud.com/10773 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Bob Glossman <bob.gloss...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/

[PATCH 5/7] staging: lustre: obd: remove dead code

2016-08-19 Thread James Simmons
Signed-off-by: John L. Hammond <john.hamm...@intel.com> Signed-off-by: James Simmons <uja.o...@gmail.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/9784 Reviewed-by: Bob Glossman <bob.gloss...@intel.com> Reviewed-by: D

[PATCH 72/80] staging: lustre: obd: validate open handle cookies

2016-08-16 Thread James Simmons
john.hamm...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3233 Reviewed-on: http://review.whamcloud.com/6938 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Mike Pershin <mike.pers...@intel.com> Signe

[PATCH 59/80] staging: lustre: fld: add fld description documentation

2016-08-16 Thread James Simmons
l.com> Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/fld/fld_internal.h | 19 +++ 1 files changed, 19 insertions(+),

[PATCH 62/80] staging: lustre: obd: limit lu_object cache

2016-08-16 Thread James Simmons
uang <he.hu...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/obdclass/lu_object.c | 91 ++-- 1 files changed, 64 insertions(+), 27 deletions(-) diff --gi

[PATCH 75/80] staging: lustre: llite: set op_max_pages

2016-08-16 Thread James Simmons
owse/LU-3531 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.

[PATCH 74/80] staging: lustre: obd: implement md_read_page

2016-08-16 Thread James Simmons
d-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/obd.h | 13

[PATCH 73/80] staging: lustre: lmv: build error with gcc 4.7.0 20110509

2016-08-16 Thread James Simmons
n L. Hammond <john.hamm...@intel.com> Reviewed-by: James Simmons <uja.o...@gmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/lmv/lmv_obd.c | 34 ++ 1 files cha

[PATCH 76/80] staging: lustre: lnet: Do not drop message when shutting down LNet

2016-08-16 Thread James Simmons
993 Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Liang Zhen <liang.z...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lnet/lnet/lib-move.c |3 +++ 1 files c

[PATCH 68/80] staging: lustre: lmv: build master LMV EA dynamically build via readdir

2016-08-16 Thread James Simmons
Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h |7 +-- drivers/staging/lustre/lustre/include/lustre_lmv.h | 30 drivers/staging/lustre/lustre/lmv/lmv_obd

[PATCH 77/80] staging: lustre: lnet: Correct position of lnet_ni_decref()

2016-08-16 Thread James Simmons
ug-id: https://jira.hpdd.intel.com/browse/LU-8022 Reviewed-on: http://review.whamcloud.com/21001 Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro..

[PATCH 70/80] staging: lustre: include: fix one off errors in lustre_id.h

2016-08-16 Thread James Simmons
During inspection of another patch Dan Carpenter noticed some one off errors in lustre_id.h. Fix the condition test for OBIF_MAX_OID. Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h |4 ++-- 1 files changed, 2 insertions

[PATCH 63/80] staging: lustre: fid: do open-by-fid by default

2016-08-16 Thread James Simmons
.@intel.com> Reviewed-by: wangdi <di.w...@intel.com> Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h

[PATCH 64/80] staging: lustre: ptlrpc: add OBD_CONNECT_UNLINK_CLOSE flag

2016-08-16 Thread James Simmons
owse/LU-4367 Reviewed-on: http://review.whamcloud.com/10426 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h |1

[PATCH 66/80] staging: lustre: lmv: try all stripes for unknown hash functions

2016-08-16 Thread James Simmons
ug-id: https://jira.hpdd.intel.com/browse/LU-4921 Reviewed-on: http://review.whamcloud.com/10041 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustr

[PATCH 79/80] staging: lustre: lnet: lock improvement for ko2iblnd

2016-08-16 Thread James Simmons
mir.sheh...@intel.com> Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 46 1 files changed, 18

[PATCH 65/80] staging: lustre: llog: keep llog ctxt indices constant

2016-08-16 Thread James Simmons
g Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h | 24 +++- drivers/staging/lustre/lustre/include/obd.h| 21 - drivers/staging/lustre/lustre/ptlrpc/wiretest.c

[PATCH 78/80] staging: lustre: lnet: make connection more stable with packet loss

2016-08-16 Thread James Simmons
-by: Doug Oucharek <doug.s.oucha...@intel.com> Reviewed-by: Alexander Zarochentsev <alexander.zarochent...@seagate.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../staging/lustre/lnet/klnds/o2iblnd/o2ib

[PATCH 60/80] staging: lustre: ldlm: improve ldlm_lock_create() return value

2016-08-16 Thread James Simmons
emoly@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4524 Reviewed-on: http://review.whamcloud.com/9004 Reviewed-by: Bobi Jam <bobi...@gmail.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: John L. Hammond <john.hamm...@intel.com

[PATCH 80/80] staging: lustre: lnet: Stop Infinite CON RACE Condition

2016-08-16 Thread James Simmons
Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h|2 + .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 24 --- 2 files changed, 22 insertions(+), 4 deletions(-) diff --g

[PATCH 71/80] staging: lustre: llite: remove assert for acl refcount

2016-08-16 Thread James Simmons
The purpose of this asssert to was to ensure lustre was properly managing its posix_acl access. This test is invalid due to the VFS layer also taking references on the posix_acl. In reality their is no simple way to detect this class of mistakes. Signed-off-by: James Simmons <js

[PATCH 56/80] staging: lustre: clio: Reduce memory overhead of per-page allocation

2016-08-16 Thread James Simmons
ug-id: https://jira.hpdd.intel.com/browse/LU-4793 Reviewed-on: http://review.whamcloud.com/10070 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Bobi Jam <bobi...@gmail.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lust

[PATCH 58/80] staging: lustre: mdc: always use D_INFO for debug info when mdc_put_rpc_lock fails

2016-08-16 Thread James Simmons
Reviewed-on: http://review.whamcloud.com/10150 Reviewed-by: Mike Pershin <mike.pers...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/mdc/mdc_locks.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lu

[PATCH 69/80] staging: lustre: osc: Automatically increase the max_dirty_mb

2016-08-16 Thread James Simmons
://review.whamcloud.com/10446 Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/obd.h | 28 +-

[PATCH 67/80] staging: lustre: ptlrpc: request gets stuck in UNREGISTERING phase

2016-08-16 Thread James Simmons
en <liang.z...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ptlrpc/client.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre

[PATCH 57/80] staging: lustre: osc: revise unstable pages accounting

2016-08-16 Thread James Simmons
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4841 Reviewed-on: http://review.whamcloud.com/10003 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James S

[PATCH 55/80] staging: lustre: mdt: add mbo_ prefix to members of struct mdt_body

2016-08-16 Thread James Simmons
Bob Glossman <bob.gloss...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Mike Pershin <mike.pers...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h | 74 +++--- d

<    4   5   6   7   8   9   10   11   12   13   >