Skip to content

Lustre fixes

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20staging/lustre/ptlrpc: avoid list scan in ptlrpcd_checkdrivers/staging/lustre/lustre/ptlrpc/client.c drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c+20 -150 replies
2/20staging/lustre/osc: split different type of IOdrivers/staging/lustre/lustre/osc/osc_cache.c+12 -00 replies
3/20staging/lustre/ldlm: high load because of negative timeoutdrivers/staging/lustre/lustre/ldlm/ldlm_pool.c+26 -60 replies
4/20staging/lustre/libcfs: fix illegal page access of tracefiled()drivers/staging/lustre/lustre/libcfs/tracefile.c+1 -00 replies
5/20staging/lustre/obdclass: fix a race in recoverydrivers/staging/lustre/lustre/obdclass/genops.c+6 -40 replies
6/20staging/lustre: fix comparison between signed and unsigneddrivers/staging/lustre/lustre/include/lustre/lustre_user.h+1 -15 replies
7/20staging/lustre/lnet: peer aliveness status and NI statusdrivers/staging/lustre/include/linux/lnet/lib-lnet.h drivers/staging/lustre/lnet/lnet/lib-move.c drivers/staging/lustre/lnet/lnet/router.c+39 -10 replies
8/20staging/lustre/llite: to configure max_cached_mb correctlydrivers/staging/lustre/lustre/llite/lproc_llite.c+5 -30 replies
9/20staging/lustre/llite: remove llite proc root on init failuredrivers/staging/lustre/lustre/llite/super25.c+72 -690 replies
10/20staging/lustre/obdclass: Proper swabbing of llog_rec_tail.drivers/staging/lustre/lustre/obdclass/llog_swab.c+4 -10 replies
11/20staging/lustre/lnet: portal spreading rotor should be unsigneddrivers/staging/lustre/include/linux/lnet/lib-types.h drivers/staging/lustre/lnet/lnet/lib-ptl.c+5 -50 replies
12/20staging/lustre/obd: change type of cl_conn_count to size_tdrivers/staging/lustre/lustre/include/obd.h drivers/staging/lustre/lustre/ldlm/ldlm_lib.c drivers/staging/lustre/lustre/mgc/mgc_request.c+6 -61 reply
13/20staging/lustre/ptlrpc: hold rq_lock when modify rq_flagsdrivers/staging/lustre/lustre/ptlrpc/client.c+2 -00 replies
14/20staging/lustre/llite: Solve a race to access lli_has_smd in read casedrivers/staging/lustre/lustre/include/lclient.h drivers/staging/lustre/lustre/lclient/lcommon_cl.c drivers/staging/lustre/lustre/llite/vvp_io.c +1 more+13 -100 replies
15/20staging/lustre/fld: refer to MDT0 for fld lookup in some casesdrivers/staging/lustre/lustre/fld/fld_request.c+9 -00 replies
16/20staging/lustre/libcfs: protect kkuc_groups from write accessdrivers/staging/lustre/lustre/libcfs/kernel_user_comm.c+2 -20 replies
17/20staging/lustre/llite: Add exception entry check after radix_treedrivers/staging/lustre/lustre/llite/dir.c+1 -10 replies
18/20staging/lustre/llite: don't add to page cache upon failuredrivers/staging/lustre/lustre/llite/dir.c+4 -10 replies
19/20staging/lustre/clio: Do not allow group locks with gid 0drivers/staging/lustre/lustre/llite/file.c+5 -00 replies
20/20staging/lustre/mdc: Initialize req in mdc_enqueue for !it casedrivers/staging/lustre/lustre/mdc/mdc_locks.c+1 -00 replies

Reviews trailers per patch

18 of 20 patches have a Reviewed-by or Acked-by.

PatchBobi JamAndreas DilgerJohann LombardiJinshan XiongNiu YaweiJames SimmonsIsaac HuangJohn L. HammondFan YongBob GlossmanAmir ShehataDoug OucharekMike PershinPatrick FarrellDmitry Ereminfrank zagojacques-Charles LafoucriereEmoly LiuLai Siyao
1/20R-b R-b R-b
2/20R-b R-b
3/20R-b R-b R-b
4/20R-b R-b
5/20R-b R-b
6/20R-b R-b
7/20R-b R-b
8/20R-b R-b
9/20R-b R-b
10/20R-b R-b
11/20R-b R-b R-b
12/20R-b R-b
13/20R-b R-b
14/20R-b
15/20R-b R-b
16/20R-b R-b R-b
17/20R-b R-b
18/20
19/20R-b R-b
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 19 reviewers.

Read the v1 thread

Cover letter [PATCH 00/20] Lustre fixes

From: Oleg Drokin <[email protected]>

These 20 patches represent various lustre fixes mostly taken from development lustre tree.
It also unbreaks lustre flock functionality accdentally broken in the staging tree by a cleanup.

Please consider.

Alexander Boyko (1):
staging/lustre/osc: split different type of IO

Dmitry Eremin (2):
staging/lustre: fix comparison between signed and unsigned staging/lustre/obd: change type of cl_conn_count to size_t

Frank Zago (1):
staging/lustre/libcfs: protect kkuc_groups from write access

Henri Doreau (1):
staging/lustre/obdclass: Proper swabbing of llog_rec_tail.

Hongchao Zhang (1):
staging/lustre/obdclass: fix a race in recovery

Jinshan Xiong (2):
staging/lustre/llite: to configure max_cached_mb correctly staging/lustre/llite: Solve a race to access lli_has_smd in read case

John L. Hammond (1):
staging/lustre/llite: remove llite proc root on init failure

Lai Siyao (1):
staging/lustre/llite: don't add to page cache upon failure

Li Xi (2):
staging/lustre/ldlm: high load because of negative timeout staging/lustre/libcfs: fix illegal page access of tracefiled()

Liang Zhen (3):
staging/lustre/ptlrpc: avoid list scan in ptlrpcd_check staging/lustre/lnet: peer aliveness status and NI status staging/lustre/lnet: portal spreading rotor should be unsigned

Niu Yawei (1):
staging/lustre/ptlrpc: hold rq_lock when modify rq_flags

Oleg Drokin (1):
staging/lustre/mdc: Initialize req in mdc_enqueue for !it case

Patrick Farrell (1):
staging/lustre/clio: Do not allow group locks with gid 0

Yang Sheng (1):
staging/lustre/llite: Add exception entry check after radix_tree

wang di (1):
staging/lustre/fld: refer to MDT0 for fld lookup in some cases

 .../staging/lustre/include/linux/lnet/lib-lnet.h   |  10 ++
 .../staging/lustre/include/linux/lnet/lib-types.h  |   2 +-
 drivers/staging/lustre/lnet/lnet/lib-move.c        |  13 ++
 drivers/staging/lustre/lnet/lnet/lib-ptl.c         |   8 +-
 drivers/staging/lustre/lnet/lnet/router.c          |  17 ++-
 drivers/staging/lustre/lustre/fld/fld_request.c    |   9 ++
 drivers/staging/lustre/lustre/include/lclient.h    |   1 +
 .../lustre/lustre/include/lustre/lustre_user.h     |   2 +-
 drivers/staging/lustre/lustre/include/obd.h        |   2 +-
 drivers/staging/lustre/lustre/lclient/lcommon_cl.c |   6 +
 drivers/staging/lustre/lustre/ldlm/ldlm_lib.c      |   6 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_pool.c     |  32 ++++-
 .../lustre/lustre/libcfs/kernel_user_comm.c        |   4 +-
 drivers/staging/lustre/lustre/libcfs/tracefile.c   |   1 +
 drivers/staging/lustre/lustre/llite/dir.c          |   7 +-
 drivers/staging/lustre/lustre/llite/file.c         |   5 +
 drivers/staging/lustre/lustre/llite/lproc_llite.c  |   8 +-
 drivers/staging/lustre/lustre/llite/super25.c      | 141 +++++++++++----------
 drivers/staging/lustre/lustre/llite/vvp_io.c       |  15 +--
 drivers/staging/lustre/lustre/llite/vvp_lock.c     |   1 +
 drivers/staging/lustre/lustre/mdc/mdc_locks.c      |   1 +
 drivers/staging/lustre/lustre/mgc/mgc_request.c    |   4 +-
 drivers/staging/lustre/lustre/obdclass/genops.c    |  10 +-
 drivers/staging/lustre/lustre/obdclass/llog_swab.c |   5 +-
 drivers/staging/lustre/lustre/osc/osc_cache.c      |  12 ++
 drivers/staging/lustre/lustre/ptlrpc/client.c      |  14 +-
 drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c     |  23 ++--
 27 files changed, 234 insertions(+), 125 deletions(-)
Signature · 1 line
2.1.0