[PATCH 25/35] staging: lustre: osc: Do not merge extents with partial pages

2016-11-10 Thread James Simmons
owse/LU- Reviewed-on: http://review.whamcloud.com/15468 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Patrick Farrell <p...@cray.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/s

[PATCH 34/35] staging: lustre: lnet: add offset for selftest brw

2016-11-10 Thread James Simmons
so far - to simply implementation, offset needs to be eight bytes aligned Signed-off-by: Liang Zhen <liang.z...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5718 Reviewed-on: http://review.whamcloud.com/12496 Reviewed-by: Doug Oucharek <doug.s.oucha...@intel.com> Reviewed

[PATCH 35/35] staging: lustre: idl: clean up file attribute flags

2016-11-10 Thread James Simmons
<oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_idl.h |9 ++--- drivers/staging/lustre/lustre/ptlrpc/wiretest.c| 12 ++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --g

[PATCH 33/35] staging: lustre: hsm: prevent migration of HSM archived files

2016-11-10 Thread James Simmons
by: Alex Zhuravlev <alexey.zhurav...@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 | 25 + 1 files changed, 13 insertions(+), 12 deleti

[PATCH 15/35] staging: lustre: llite: tar restore fails for HSM released files.

2016-11-10 Thread James Simmons
<oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_user.h |1 + drivers/staging/lustre/lustre/llite/xattr.c| 61 +++- 2 files changed, 60 insertions(+), 2 deletions(-) diff --git

[PATCH 22/35] staging: lustre: llite: clear dir stripe md in ll_iget

2016-11-10 Thread James Simmons
reeing those stripe MD. Signed-off-by: wang di <di.w...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7230 Reviewed-on: http://review.whamcloud.com/16677 Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Sign

[PATCH 31/35] staging: lustre: obdclass: add export for lprocfs_stats_alloc_one()

2016-11-10 Thread James Simmons
l.com> Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/obdclass/lprocfs_status.c|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff -

[PATCH 18/35] staging: lustre: osc: fix max_dirty_mb tunable setting limit

2016-11-10 Thread James Simmons
owse/LU-7218 Reviewed-on: http://review.whamcloud.com/16652 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Bobi Jam <bobi...@hotmail.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/osc/lproc_osc.c |2 +- 1 fil

[PATCH 21/35] staging: lustre: statahead: lock leaks if statahead file recreated

2016-11-10 Thread James Simmons
232 Reviewed-on: http://review.whamcloud.com/16841 Reviewed-by: Fan Yong <fan.y...@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> --- drivers/staging/lustre/l

[PATCH 12/35] staging: lustre: clio: get rid of cl_req

2016-11-10 Thread James Simmons
wed-on: http://review.whamcloud.com/15833 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Bobi Jam <bobi...@hotmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustr

[PATCH 05/35] staging: lustre: llog: fix wrong offset in llog_process_thread()

2016-11-10 Thread James Simmons
mm...@intel.com> Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/obdclass/llog.c | 81 +--- 1 files changed, 57 insert

[PATCH 30/35] staging: lustre: llite: ll_write_begin/end not passing on errors

2016-11-10 Thread James Simmons
Nozaki <nozaki.hir...@jp.fujitsu.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6732 Reviewed-on: http://review.whamcloud.com/15302 Reviewed-by: Bobi Jam <bobi...@hotmail.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@inte

[PATCH 10/35] staging: lustre: lmv: revalidate the dentry for striped dir

2016-11-10 Thread James Simmons
ug-id: https://jira.hpdd.intel.com/browse/LU-6831 Reviewed-on: http://review.whamcloud.com/15720 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7078 Reviewed-on: http://review.whamcloud.com/16382 Reviewed-by: Alex Zhuravlev <alexey.zhurav...@intel.com> Reviewed-by: James Simmons &

[PATCH 14/35] staging: lustre: nrs: serialize executions of nrs_policy_stop

2016-11-10 Thread James Simmons
hamcloud.com/16214 Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Emoly Liu <emoly@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ptlrpc/nrs.c | 16 +++

[PATCH 28/35] staging: lustre: osc: Remove remains of osc_ast_guard

2016-11-10 Thread James Simmons
ud.com/16392 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Bobi Jam <bobi...@hotmail.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/osc/osc_dev.c |2 -- drivers/staging/lustre/lustre/osc/osc_request.

[PATCH 09/35] staging: lustre: mgc: IR log failure should not stop mount

2016-11-10 Thread James Simmons
l.com/browse/LU-6906 Reviewed-on: http://review.whamcloud.com/15728 Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --

[PATCH 11/35] staging: lustre: ptlrpc: race at req processing

2016-11-10 Thread James Simmons
-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/ptlrpc/client.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/staging/lu

[PATCH 01/35] staging: lustre: hsm: Use file lease to implement migration

2016-11-10 Thread James Simmons
hamcloud.com/10013 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: frank zago <fz...@cray.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 27/35] staging: lustre: ptlrpc: reset imp_replay_cursor

2016-11-10 Thread James Simmons
om> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6802 Reviewed-on: http://review.whamcloud.com/17351 Reviewed-by: Niu Yawei <yawei@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James S

[PATCH 04/35] staging: lustre: lov: init LOV stripe type beforehand

2016-11-10 Thread James Simmons
bi Jam <bobijam...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6744 Reviewed-on: http://review.whamcloud.com/15362 Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@inte

[PATCH 07/35] staging: lustre: lov: avoid infinite loop in lsm_alloc_plain()

2016-11-10 Thread James Simmons
ud.com/15644 Reviewed-by: Dmitry Eremin <dmitry.ere...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/lov/lov_ea.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[PATCH 02/35] staging: lustre: obd: rename obd_unpackmd() to md_unpackmd()

2016-11-10 Thread James Simmons
intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5814 Signed-off-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-on: http://review.whamcloud.com/13737 Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Signe

[PATCH 00/35] second batch of missing lustre 2.8 patches

2016-11-10 Thread James Simmons
More fixes missing from the upstream client. Also a nice cleanup with the removal of cl_req which is no longer needed. More cleanup for lustre_idl.h which is a uapi header. Like the last batch these patches are independent of order. Aditya Pandit (1): staging: lustre: llite: tar restore fails

[PATCH 08/35] staging: lustre: lmv: lock necessary part of lmv_add_target

2016-11-10 Thread James Simmons
remove some noise error messages in this process. Signed-off-by: wang di <di.w...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6713 Reviewed-on: http://review.whamcloud.com/15269 Reviewed-by: Niu Yawei <yawei@intel.com> Reviewed-by: James Simmons <uja.o...@yahoo.c

[PATCH v4] staging: lustre: mdc: manage number of modify RPCs in flight

2016-11-10 Thread James Simmons
Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- Changelog: v1) Initial patch with incorrect print out of timestamp in obd_mod_rpc_stats_seq_show. v2) Fixed up obd_mod_rpc_stats_seq_show to print out in nanoseconds v3) Add t

[PATCH] staging: lustre: ldlm: pl_recalc time handling is wrong

2016-11-07 Thread James Simmons
is to use monotomic clock current value instead of the wall clocks value when calculating recalc_interval_sec. Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ldlm/ldlm_pool.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/d

[PATCH] staging: lustre: obd: rename health sysfs file to health_check

2016-11-07 Thread James Simmons
Testing revealed that the sysfs file health is actually the wrong name. Rename to the proper name health_check. Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/obdclass/linux/linux-module.c|8 drivers/staging/lustre/sysfs-fs-lustre

[PATCH v3] staging: lustre: mdc: manage number of modify RPCs in flight

2016-11-07 Thread James Simmons
dd.intel.com/browse/LU-5319 Reviewed-on: http://review.whamcloud.com/14374 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Alex Zhuravlev <alexey.zhurav...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead

Re: [lustre-devel] [PATCH 1/2] staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES

2016-11-06 Thread James Simmons
> On Thu, Nov 3, 2016 at 1:05 AM, Dilger, Andreas > wrote: > On Oct 25, 2016, at 10:47, Aya Mahfouz > wrote: > > > > On Mon, Oct 17, 2016 at 10:38:31PM +, Dilger, Andreas wrote: > >> On Oct 17, 2016, at

Re: [PATCH 2/2] staging: lustre: obdclass: Add handling of error returned by lustre_cfg_new

2016-11-06 Thread James Simmons
> On Nov 6, 2016, at 12:11 PM, Christophe JAILLET wrote: > > > 'lustre_cfg_new()' can return ERR_PTR(-ENOMEM). > > Handle these errors and propagate the error code to the callers. > > > > Error handling has been rearranged in 'lustre_process_log()' with the > > addition of a label in order to

Re: [PATCH] staging: lustre: o2iblnd: replace space indentation with tabs

2016-11-06 Thread James Simmons
> On Mon, 2016-11-07 at 02:02 +0000, James Simmons wrote: > > > This patch fixes all CODE_INDENT checkpatch errors in o2iblnd. > > Reviewed-by: James Simmons <jsimm...@infradead.org> > [] > > > diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c

Re: [PATCH 22/29] staging: lustre: llite: add LL_IOC_FUTIMES_3

2016-11-06 Thread James Simmons
> On Thu, Oct 27, 2016 at 06:11:56PM -0400, James Simmons wrote: > > From: John L. Hammond <john.hamm...@intel.com> > > > > Add a new regular file ioctl LL_IOC_FUTIMES_3 similar to futimes() but > > which allows setting of all three inode timestamps. Use

Re: [PATCH] staging: lustre: o2iblnd: replace space indentation with tabs

2016-11-06 Thread James Simmons
> This patch fixes all CODE_INDENT checkpatch errors in o2iblnd. Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Nicholas Hanley <nicholasjhan...@gmail.com> > --- > .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 2 +- > .../stagin

Re: [PATCH v2] staging: lustre: fixed shadowed variable in socklnd_cb.c

2016-11-06 Thread James Simmons
> Removed redundant declaration of variable 'tx' in local scope > Fixed: sparse warning: > socklnd_cb.c:2476:41: warning: symbol 'tx' shadows an earlier one > socklnd_cb.c:2435:25: originally declared here Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-

Re: [PATCH 12/14] staging/lustre/llite: update ras window correctly

2016-11-06 Thread James Simmons
tride-RA window, when we try to increase > the stride-RA window length later, the presumption does not hold. > > This patch resets the stride IO as well in this case. Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Bobi Jam <bobijam...@intel.com>

Re: [PATCH 11/14] staging/lustre/ptlrpc: Correctly calculate hrp->hrp_nthrs

2016-11-06 Thread James Simmons
> weight = cfs_cpu_ht_nsiblings(0); > hrp->hrp_nthrs = cfs_cpt_weight(ptlrpc_hr.hr_cpt_table, i); > hrp->hrp_nthrs /= weight; > > evaluating to 0. Where > cfs_cpt_weight(ptlrpc_hr.hr_cpt_table, i) == 1 > weight == 2 > > Therefore, if hrp_nthrs becomes zero, ju

Re: [PATCH 09/14] staging/lustre/ptlrpc: Suppress error for flock requests

2016-11-06 Thread James Simmons
> From: Patrick Farrell <p...@cray.com> > > -EAGAIN is a normal return when requesting POSIX flocks. > We can't recognize exactly that case here, but it's the > only case that should result in -EAGAIN on LDLM_ENQUEUE, so > don't print to console in that case. Reviewed-

Re: [PATCH 13/14] staging/lustre/llite: do not clear uptodate bit in page delete

2016-11-06 Thread James Simmons
think this is a defect in kernel implementation, > because it assumes PageUptodate shouldn't be cleared but file read > routine doesn't make the same assumption. Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Jinshan Xiong <jinshan.xi...@intel.com> &g

Re: [PATCH 14/14] staging/lustre: Get rid of LIBLUSTRE_CLIENT and its users

2016-11-06 Thread James Simmons
> This define only made sense in a userspace library client, not in the kernel. Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Oleg Drokin <gr...@linuxhacker.ru> > --- > drivers/staging/lustre/lustre/include/lustre_lib.h | 2 -- > drivers

Re: [PATCH 10/14] staging/lustre/llite: protect from accessing NULL lli_clob

2016-11-06 Thread James Simmons
> From: Bobi Jam <bobijam...@intel.com> > > Need to check file's lli_clob object before calling > lov_read_and_clear_async_rc(). Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Bobi Jam <bobijam...@intel.com> > Reviewed-by: Ji

Re: [PATCH 08/14] staging/lustre/ldlm: engage ELC for all ldlm enqueue req

2016-11-06 Thread James Simmons
for glimpse EXTENT lock for it has an intent). Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Hongchao Zhang <hongchao.zh...@intel.com> > Reviewed-on: http://review.whamcloud.com/21739 > Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8209 > Revie

Re: [PATCH 06/14] staging/lustre/llite: drop_caches hangs in cl_inode_fini()

2016-11-06 Thread James Simmons
> From: Andrew Perepechko <andrew.perepec...@seagate.com> > > This patch releases cl_pages on error in ll_write_begin() > to avoid memory and object reference leaks. Also, it > reuses per-cpu lu_env in ll_invalidatepage() in the same > way as done in ll_releasepage(). Re

Re: [PATCH 07/14] staging/lustre/ldlm: Reinstate ldlm_enqueue_pack()

2016-11-06 Thread James Simmons
> The function becomes used again with the next patch, so bring it back > from dead, only this time make it static. Reviewed-by: James Simmons <jsimm...@infradead.org> > Reverts: bf2a033360f7 ("staging/lustre/ldlm: Remove unused > ldlm_enqueue_pack()") >

Re: [PATCH 05/14] staging/lustre: Get rid of cl_env hash table

2016-11-06 Thread James Simmons
v_nested_put(); > remove cl_env_reenter() and cl_env_reexit(); Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Jinshan Xiong <jinshan.xi...@intel.com> > Reviewed-on: http://review.whamcloud.com/20254 > Intel-bug-id: https://jira.hpdd.intel.com/browse/LU

Re: [PATCH 03/14] staging/lustre: conflicting PW & PR extent locks on a client

2016-11-06 Thread James Simmons
quest, > which conflicts with the PW lock in LDLM_FL_CANCELING > state on the client. > > Lock in LDLM_FL_CANCELING state may still have pending IO, > so it should be replayed until LDLM_FL_BL_DONE is set to > avoid granted conflicting lock by a server. Reviewed-by: James Simmons <js

Re: [PATCH 01/14] staging/lustre/ldlm: Drop unused blocking_refs flock field

2016-11-06 Thread James Simmons
> blocking_refs is only used on the server, so drop it on the client. Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Oleg Drokin <gr...@linuxhacker.ru> > --- > drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 -- > 1 file changed, 2 d

Re: [PATCH 04/14] staging/lustre/llite: clear inode timestamps after losing UPDATE lock

2016-11-06 Thread James Simmons
> From: Niu Yawei <yawei@intel.com> > > Otherwise, those leftovers would interfere with new timestamps > especially when the timestamps are set back in time on the other > clients. Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Jinshan

Re: [PATCH 02/14] staging/lustre/ldlm: fix export reference problem

2016-11-06 Thread James Simmons
atible. Reviewed-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Hongchao Zhang <hongchao.zh...@intel.com> > Reviewed-on: http://review.whamcloud.com/22031 > Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8500 > Reviewed-by: James Simmons <uja.o...@y

[PATCH v2] staging: lustre: mdc: manage number of modify RPCs in flight

2016-11-02 Thread James Simmons
Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/fid/fid_request.c|4 - drivers/staging/lustre/lustre/include/lustre_mdc.h | 24 +++ drivers/staging/lustre/lustre/include/obd.h|

[PATCH 22/29] staging: lustre: llite: add LL_IOC_FUTIMES_3

2016-10-27 Thread James Simmons
om/browse/LU-6213 Reviewed-on: http://review.whamcloud.com/13665 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: frank zago <fz...@cray.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com>

[PATCH 28/29] staging: lustre: ptlrpc: imp_peer_committed_transno should increase

2016-10-27 Thread James Simmons
l.com/browse/LU-7079 Reviewed-on: http://review.whamcloud.com/16161 Reviewed-by: Mike Pershin <mike.pers...@intel.com> Reviewed-by: wangdi <di.w...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/s

[PATCH 10/29] staging: lustre: ptlrpc: embed highest XID in each request

2016-10-27 Thread James Simmons
ntel.com/browse/LU-5319 Reviewed-on: http://review.whamcloud.com/14793 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/lustre_ne

[PATCH 11/29] staging: lustre: llite: basic support of SELinux in CLIO

2016-10-27 Thread James Simmons
648 Reviewed-by: Dmitry Eremin <dmitry.ere...@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/llite/Makefile |6 +-

[PATCH 25/29] staging: lustre: llite: Inform copytool of dataversion changes

2016-10-27 Thread James Simmons
Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/llite/dir.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/llite/dir.c b/drivers/staging/lustre/lustre

[PATCH 14/29] staging: lustre: ptlrpc: Do not resend req with allow_replay

2016-10-27 Thread James Simmons
t;alexey.zhurav...@intel.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/lustre/ptlrpc/recover.c |8 +++- 1 files changed, 7 insertions(+),

[PATCH 27/29] staging: lustre: headers: Create single .h for lu_seq_range

2016-10-27 Thread James Simmons
wed-on: http://review.whamcloud.com/15952 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustr

[PATCH 26/29] staging: lustre: ptlrpc: do not switch out-of-date context

2016-10-27 Thread James Simmons
y: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ptlrpc/sec.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/staging/lustre/lustre/ptlrpc/sec.c b/drivers/staging/lust

[PATCH 07/29] staging: lustre: lov: remove LSM from struct lustre_md

2016-10-27 Thread James Simmons
hamcloud.com/13722 Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/cl_object.h |2 +- drivers/staging/lustre/lustre/include/ob

[PATCH 20/29] staging: lustre: recovery: don't skip open replay on reconnect

2016-10-27 Thread James Simmons
wed-on: http://review.whamcloud.com/15871 Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Hongchao Zhang <hongchao.zh...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/ptlrpc/re

[PATCH 15/29] staging: lustre: obdecho: don't copy lu_site

2016-10-27 Thread James Simmons
ewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../staging/lustre/lustre/obdecho/echo_client.c| 20 +++- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdec

[PATCH 16/29] staging: lustre: mdc: deactive MDT permanently

2016-10-27 Thread James Simmons
y: Lai Siyao <lai.si...@intel.com> Reviewed-by: James Simmons <uja.o...@yahoo.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 |1 + drivers/staging/

[PATCH 29/29] staging: lustre: llog: record the minimum record size

2016-10-27 Thread James Simmons
ug-id: https://jira.hpdd.intel.com/browse/LU-7050 Reviewed-on: http://review.whamcloud.com/16103 Reviewed-by: Mike Pershin <mike.pers...@intel.com> Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infr

[PATCH 24/29] staging: lustre: ptlrpc: Forbid too early NRS policy tunings

2016-10-27 Thread James Simmons
wed-on: http://review.whamcloud.com/15104 Reviewed-by: Emoly Liu <emoly@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/lus

[PATCH 08/29] staging: lustre: clio: update file attributes after sync

2016-10-27 Thread James Simmons
ro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/osc/osc_internal.h |2 +- drivers/staging/lustre/lustre/osc/osc_io.c |3 +-- drivers/staging/lustre/lustre/osc/osc_request.c | 21 - 3 files changed, 22

[PATCH 18/29] staging: lustre: mdt: disable IMA support

2016-10-27 Thread James Simmons
ntel.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/llite/xattr.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) dif

[PATCH 23/29] staging: lustre: ptlrpc: do not sleep if encpool reached max capacity

2016-10-27 Thread James Simmons
-by: Dmitry Eremin <dmitry.ere...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/lustre_sec.h |2 + drivers/staging/lustre/lustre/ptlrpc/client.c | 25

[PATCH 21/29] staging: lustre: obdclass: race lustre_profile_list

2016-10-27 Thread James Simmons
jitsu.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6600 Reviewed-on: http://review.whamcloud.com/14896 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Jian Yu <jian...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James S

[PATCH 04/29] staging: lustre: obdclass: variable llog chunk size

2016-10-27 Thread James Simmons
ed-off-by: Andreas Dilger <andreas.dil...@intel.com> Signed-off-by: wang di <di.w...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6602 Reviewed-on: http://review.whamcloud.com/14883 Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: James Simmons <uja.o...@y

[PATCH 13/29] staging: lustre: llite: report back to user bad stripe count

2016-10-27 Thread James Simmons
dd.intel.com/browse/LU-6602 Reviewed-on: http://review.whamcloud.com/15162 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead

[PATCH 05/29] staging: lustre: lmv: allow cross-MDT rename and link

2016-10-27 Thread James Simmons
upport this. Signed-off-by: wang di <di.w...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3537 Reviewed-on: http://review.whamcloud.com/12282 Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Oleg Drokin <ol

[PATCH 17/29] staging: lustre: ptlrpc: replay bulk request

2016-10-27 Thread James Simmons
intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6924 Reviewed-on: http://review.whamcloud.com/15793 Reviewed-by: Alex Zhuravlev <alexey.zhurav...@intel.com> Reviewed-by: Niu Yawei <yawei@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signe

[PATCH 01/29] staging: lustre: osc: remove handling cl_avail_grant less than zero

2016-10-27 Thread James Simmons
Since cl_avail_grant can never be negative we can remove the code handling the negative value case. Signed-off-by: James Simmons <uja.o...@yahoo.com> Intel-bug-id: LU-8697 https://jira.hpdd.intel.com/browse/LU-6303 Reviewed-on: http://review.whamcloud.com/23155 Reviewed-by: Fan Yong <fan

[PATCH 06/29] staging: lustre: ptlrpc: Introduce iovec to bulk descriptor

2016-10-27 Thread James Simmons
uffers. Signed-off-by: Amir Shehata <amir.sheh...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5835 Reviewed-on: http://review.whamcloud.com/12525 Reviewed-by: wangdi <di.w...@intel.com> Reviewed-by: Liang Zhen <liang.z...@intel.com> Reviewed-by: James Simmons <u

[PATCH 19/29] staging: lustre: ldlm: reclaim granted locks defensively

2016-10-27 Thread James Simmons
<andreas.dil...@intel.com> Reviewed-by: Bobi Jam <bobi...@hotmail.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> --- .../lustre/include/linux/libcfs/libcfs_hash.h

[PATCH 09/29] staging: lustre: dne: setdirstripe should fail if not supported

2016-10-27 Thread James Simmons
wed-on: http://review.whamcloud.com/15123 Reviewed-by: James Simmons <uja.o...@yahoo.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/lus

[PATCH 03/29] staging: lustre: llite: restart short read/write for normal IO

2016-10-27 Thread James Simmons
ntel-bug-id: https://jira.hpdd.intel.com/browse/LU-6389 Reviewed-on: http://review.whamcloud.com/14123 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/lustr

[PATCH 12/29] staging: lustre: mdc: manage number of modify RPCs in flight

2016-10-27 Thread James Simmons
Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/fid/fid_request.c|4 - drivers/staging/lustre/lustre/include/lustre_mdc.h | 24 +++ drivers/staging/lustre/lustre/include/obd.h|

[PATCH 02/29] staging: lustre: llite: remove IS_ERR(master_inode) check

2016-10-27 Thread James Simmons
The kernel function ilookup5_nowait never returns IS_ERR so we can remove the IS_ERR check in the ll_md_blocking_ast() function. Signed-off-by: James Simmons <uja.o...@yahoo.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8697 Reviewed-on: http://review.whamcloud.com/23151 Re

[PATCH 00/29] Batch one for work from 2.7.55 to 2.7.59

2016-10-27 Thread James Simmons
Hongchao Zhang (1): staging: lustre: mdt: disable IMA support James Simmons (2): staging: lustre: osc: remove handling cl_avail_grant less than zero staging: lustre: llite: remove IS_ERR(master_inode) check John L. Hammond (2): staging: lustre: lov: remove LSM from struct lustre_md staging

Re: [PATCH] staging/lustre/llite: Move unstable_stats from sysfs to debugfs

2016-10-18 Thread James Simmons
> It's multiple values per file, so it has no business being in sysfs, > besides it was assuming seqfile anyway. > > Introduced by > commit d806f30e639b ("staging: lustre: osc: revise unstable pages accounting") Tested it manually to make sure it was right this time. R

Re: [staging:staging-next 761/1248] drivers/staging/lustre/lustre/osc/osc_request.c:1045:5-24: WARNING: Unsigned expression compared with zero: cli -> cl_avail_grant < 0

2016-10-13 Thread James Simmons
; > CC: "John L. Hammond" <john.hamm...@intel.com> > CC: Fan Yong <fan.y...@intel.com> > CC: Oleg Drokin <oleg.dro...@intel.com> > CC: James Simmons <jsimm...@infradead.org> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging

Re: [PATCH 32/41] staging: lustre: llite: restart short read/write for normal IO

2016-10-13 Thread James Simmons
> On Wed, Oct 12, 2016 at 12:22:35AM +0100, James Simmons wrote: > > > > > On Sun, Oct 02, 2016 at 10:28:28PM -0400, James Simmons wrote: > > > > From: Bobi Jam <bobijam...@intel.com> > > > > > > > > If normal IO got short read/writ

Re: [patch] Staging: lustre: indent an if statement

2016-10-13 Thread James Simmons
> This if statement wasn't intended. Acked-by: James Simmons <jsimm...@infradead.org> > Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> > > diff --git a/drivers/staging/lustre/lustre/obdclass/cl_object.c > b/drivers/staging/lustre/lustre/obdclass/cl_object

Re: [bug report] staging: lustre: create striped directory

2016-10-13 Thread James Simmons
> On Tue, Oct 11, 2016 at 04:14:11PM +, Wang, Di wrote: > > Hello, > > > > On 10/11/16, 4:37 AM, "Dan Carpenter" wrote: > > > > >Hello wang di, > > > > > >The patch 2de353860782: "staging: lustre: create striped directory" > > >from Aug 16, 2016, leads to the

Re: [PATCH 32/41] staging: lustre: llite: restart short read/write for normal IO

2016-10-11 Thread James Simmons
> On Sun, Oct 02, 2016 at 10:28:28PM -0400, James Simmons wrote: > > From: Bobi Jam <bobijam...@intel.com> > > > > If normal IO got short read/write, we'd restart the IO from where > > we've accomplished until we meet EOF or error happens. > > > >

[PATCH 29/41] staging: lustre: ptlrpc: Move NRS structures out of lustre_net.h

2016-10-02 Thread James Simmons
eaders for the various NRS policies. Signed-off-by: Chris Horn <ho...@cray.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2667 Reviewed-on: http://review.whamcloud.com/13966 Reviewed-by: Henri Doreau <henri.dor...@cea.fr> Reviewed-by: James Simmons <uja.o...@yahoo.com> Reviewed-b

[PATCH 31/41] staging: lustre: obd: remove destroy cookie handling

2016-10-02 Thread James Simmons
hamcloud.com/12922 Reviewed-by: Lai Siyao <lai.si...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Alex Zhuravlev <alexey.zhurav...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../lustre/lustre/include/lustre/lustre_i

[PATCH 07/41] staging: lustre: llite: remove duplicate fiemap defines

2016-10-02 Thread James Simmons
om/browse/LU-6201 Reviewed-on: http://review.whamcloud.com/13608 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Yang Sheng <yang.sh...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com>

[PATCH 40/41] staging: lustre: lov: move LSM to LOV layer

2016-10-02 Thread James Simmons
rename it lov_packmd(). Signed-off-by: John L. Hammond <john.hamm...@intel.com> Signed-off-by: Jinshan Xiong <jinshan.xi...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5814 Reviewed-on: http://review.whamcloud.com/13696 Reviewed-by: James Simmons <uja.o...@yahoo.com>

[PATCH 39/41] staging: lustre: osc: remove remaining bits for capa support

2016-10-02 Thread James Simmons
Signed-off-by: John L. Hammond <john.hamm...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3105 Reviewed-on: http://review.whamcloud.com/14640 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Alex Zhuravlev <alexey.zhurav...@intel.com> Reviewed-

[PATCH 03/41] staging: lustre: llite: remove client Size on MDS support

2016-10-02 Thread James Simmons
wed-on: http://review.whamcloud.com/13126 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 Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/lli

[PATCH 41/41] staging: lustre: echo: request pages in batches

2016-10-02 Thread James Simmons
;nathaniel.l.cl...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- .../staging/lustre/lustre/obdecho/echo_client.c| 38 --- 1 files changed, 16 insertions(+), 22 deletions(-) diff --git a

[PATCH 35/41] staging: lustre: hsm: Use file lease to implement migration

2016-10-02 Thread James Simmons
hamcloud.com/10013 Reviewed-by: John L. Hammond <john.hamm...@intel.com> Reviewed-by: frank zago <fz...@cray.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 30/41] staging: lustre: quota: remove obsolete quota code

2016-10-02 Thread James Simmons
. Signed-off-by: Niu Yawei <yawei@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5975 Reviewed-on: http://review.whamcloud.com/14705 Reviewed-by: Fan Yong <fan.y...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simm

[PATCH 28/41] staging: lustre: hsm: make HSM modification requests replayable

2016-10-02 Thread James Simmons
l.com> Reviewed-by: Faccini Bruno <bruno.facc...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/mdc/mdc_request.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-)

[PATCH 37/41] staging: lustre: lov: copy_to_user uses wrong casting

2016-10-02 Thread James Simmons
() buffer size is not probably correct In lov_iocontrol the data was being casted to int instead of the required unsigned long. This patch changes the cast to what is needed for copy_to_user. Signed-off-by: James Simmons <uja.o...@yahoo.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/L

[PATCH 34/41] staging: lustre: ldlm: cancel aged locks for LRUR

2016-10-02 Thread James Simmons
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6529 Reviewed-on: http://review.whamcloud.com/14856 Reviewed-by: Jinshan Xiong <jinshan.xi...@intel.com> Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com> Signe

[PATCH 27/41] staging: lustre: llite: add cl_object_maxbytes()

2016-10-02 Thread James Simmons
ilger <andreas.dil...@intel.com> Reviewed-by: James Simmons <uja.o...@yahoo.com> Signed-off-by: James Simmons <jsimm...@infradead.org> --- drivers/staging/lustre/lustre/include/cl_object.h |5 + drivers/staging/lustre/lustre/include/obd.h|2 +- .../staging/lustre/lu

[PATCH 25/41] staging: lustre: lov: add cl_object_layout_get()

2016-10-02 Thread James Simmons
john.hamm...@intel.com> Signed-off-by: Jinshan Xiong <jinshan.xi...@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5814 Reviewed-on: http://review.whamcloud.com/13680 Reviewed-by: Bobi Jam <bobi...@hotmail.com> Reviewed-by: Oleg Drokin <oleg.dro...@intel.com>

[PATCH 36/41] staging: lustre: ldlm: interval tree search in ldlm_lock_match()

2016-10-02 Thread James Simmons
wed-on: http://review.whamcloud.com/12294 Reviewed-by: Andreas Dilger <andreas.dil...@intel.com> Reviewed-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/l

<    2   3   4   5   6   7   8   9   10   11   >