Skip to content

Lustre fixes

Oleg Drokin lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18staging/lustre/libcfs: revert changes to libcfs_sock_ioctldrivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c+18 -30 replies
2/18staging/lustre/ptlrpc: Protect request buffer changingdrivers/staging/lustre/lustre/ptlrpc/gss/sec_gss.c drivers/staging/lustre/lustre/ptlrpc/sec_null.c drivers/staging/lustre/lustre/ptlrpc/sec_plain.c+52 -00 replies
3/18staging/lustre/llite: Only kill SGID/SUID bitsdrivers/staging/lustre/lustre/llite/llite_lib.c+4 -20 replies
4/18staging/lustre: fix frong ldlm flags type useddrivers/staging/lustre/lustre/include/lustre_dlm.h drivers/staging/lustre/lustre/include/obd_class.h drivers/staging/lustre/lustre/include/obd_ost.h +8 more+22 -220 replies
5/18staging/lustre/ptlrpc: fix NULL pointer dereference of {exp,imp}_obddrivers/staging/lustre/lustre/ptlrpc/niobuf.c drivers/staging/lustre/lustre/ptlrpc/service.c+8 -90 replies
6/18staging/lustre/mgc: mgc import reconnect racedrivers/staging/lustre/lustre/obdclass/obd_mount.c drivers/staging/lustre/lustre/ptlrpc/import.c drivers/staging/lustre/lustre/ptlrpc/pinger.c+40 -190 replies
7/18staging/lustre/osc: get rid of old checksum initial valuedrivers/staging/lustre/lustre/osc/osc_request.c+1 -60 replies
8/18staging/lustre/ptlrpc: race at req processingdrivers/staging/lustre/lustre/ptlrpc/client.c drivers/staging/lustre/lustre/ptlrpc/events.c drivers/staging/lustre/lustre/ptlrpc/niobuf.c+14 -10 replies
9/18staging/lustre/mgc: replace hard-coded MGC_ENQUEUE_LIMIT valuedrivers/staging/lustre/lustre/mgc/mgc_request.c+4 -10 replies
10/18staging/lustre/ptlrpc: Add schedule point to ptlrpc_check_set()drivers/staging/lustre/lustre/ptlrpc/client.c+10 -00 replies
11/18staging/lustre/obdclass: Fix uninitialized variablesdrivers/staging/lustre/lustre/obdclass/capa.c+5 -00 replies
12/18staging/lustre/osc: osc_extent_truncate()) ASSERTION( !ext->oe_urgent ) faileddrivers/staging/lustre/lustre/osc/osc_cache.c+4 -30 replies
13/18staging/lustre/llite: Fix uninitialized variabledrivers/staging/lustre/lustre/llite/xattr.c+1 -00 replies
14/18staging/lustre/ptlrpc: unlink request buffer correctlydrivers/staging/lustre/lustre/include/lustre_net.h drivers/staging/lustre/lustre/ptlrpc/client.c drivers/staging/lustre/lustre/ptlrpc/events.c +1 more+18 -130 replies
15/18staging/lustre/obdclass: runtime load lustre client when neededdrivers/staging/lustre/lustre/obdclass/obd_mount.c+4 -10 replies
16/18staging/lustre/vvp: release mmap_sem in error casedrivers/staging/lustre/lustre/llite/vvp_io.c+3 -10 replies
17/18staging/lustre/llite: fix a flag bug of vvp_io_kernel_fault()drivers/staging/lustre/lustre/llite/vvp_io.c+1 -10 replies
18/18staging/lustre/lnet: abort messages whose MD has been unlinkeddrivers/staging/lustre/include/linux/lnet/lib-types.h drivers/staging/lustre/lnet/lnet/lib-md.c drivers/staging/lustre/lnet/lnet/lib-me.c +1 more+45 -260 replies

Reviews trailers per patch

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

PatchJohn L. HammondMike PershinAndreas DilgerRyan HaaskenDmitry EreminLai SiyaoBob GlossmanJinshan XiongJames SimmonsLiang ZhenYang ShengDoug OucharekEmoly LiuIsaac HuangChris Horn
1/18
2/18R-b R-b
3/18R-b R-b
4/18R-b
5/18R-b R-b
6/18R-b R-b
7/18R-b R-b
8/18R-b R-b R-b
9/18R-b R-b
10/18R-b
11/18R-b R-b R-b
12/18R-b
13/18R-b R-b
14/18R-b R-b R-b
15/18R-b R-b R-b R-b
16/18R-b
17/18R-b R-b
18/18R-b R-b

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

Read the v1 thread

Cover letter [PATCH 00/18] Lustre fixes

These patches here represent most of recent fixes we added recently in our tree.
The first patch also unbreaks lustre from total breakage that was introduced by commit 80db2734acbc78db12798cfb611d6acc7fe389e6

The changes seem to pass my testing.
checkpatch output is clean except for the last patch #144: FILE: drivers/staging/lustre/lnet/lnet/lib-move.c:821:
+ CNETERR("Aborting message for %s: LNetM[DE]Unlink() already "
+ "called on the MD/ME.\n",

This one cannot be helped I guess.

WARNING: return of an errno should typically be -ve (return -ECANCELED) #150: FILE: drivers/staging/lustre/lnet/lnet/lib-move.c:827:
+ return ECANCELED;

This one would be addressed by two other patches I am working on right now.

Please consider for inclusion.

Alexander.Boyko (1):
staging/lustre/ptlrpc: race at req processing

Alexey Lyashkov (1):
staging/lustre/ptlrpc: unlink request buffer correctly

Andriy Skulysh (2):
staging/lustre/mgc: mgc import reconnect race staging/lustre/osc: osc_extent_truncate()) ASSERTION( !ext->oe_urgent
) failed

Bob Glossman (1):
staging/lustre/obdclass: runtime load lustre client when needed

Bobi Jam (1):
staging/lustre/osc: get rid of old checksum initial value

Cheng Shao (1):
staging/lustre/mgc: replace hard-coded MGC_ENQUEUE_LIMIT value

Christopher J. Morrone (1):
staging/lustre/ptlrpc: Add schedule point to ptlrpc_check_set()

Dmitry Eremin (4):
staging/lustre: fix frong ldlm flags type used staging/lustre/ptlrpc: fix NULL pointer dereference of {exp,imp}_obd staging/lustre/obdclass: Fix uninitialized variables staging/lustre/llite: Fix uninitialized variable

Isaac Huang (1):
staging/lustre/lnet: abort messages whose MD has been unlinked

Li Xi (1):
staging/lustre/llite: fix a flag bug of vvp_io_kernel_fault()

Nathaniel Clark (1):
staging/lustre/llite: Only kill SGID/SUID bits

Oleg Drokin (2):
staging/lustre/libcfs: revert changes to libcfs_sock_ioctl staging/lustre/ptlrpc: Protect request buffer changing

Patrick Farrell (1):
staging/lustre/vvp: release mmap_sem in error case

 .../staging/lustre/include/linux/lnet/lib-types.h  |  1 +
 drivers/staging/lustre/lnet/lnet/lib-md.c          | 10 ++---
 drivers/staging/lustre/lnet/lnet/lib-me.c          | 11 ++---
 drivers/staging/lustre/lnet/lnet/lib-move.c        | 49 +++++++++++++++-------
 drivers/staging/lustre/lustre/include/lustre_dlm.h |  2 +-
 drivers/staging/lustre/lustre/include/lustre_net.h |  6 ++-
 drivers/staging/lustre/lustre/include/obd_class.h  |  2 +-
 drivers/staging/lustre/lustre/include/obd_ost.h    |  4 ++
 drivers/staging/lustre/lustre/ldlm/ldlm_request.c  |  2 +-
 .../lustre/lustre/libcfs/linux/linux-tcpip.c       | 21 ++++++++--
 drivers/staging/lustre/lustre/llite/file.c         |  6 +--
 drivers/staging/lustre/lustre/llite/llite_lib.c    |  6 ++-
 drivers/staging/lustre/lustre/llite/vvp_io.c       |  6 ++-
 drivers/staging/lustre/lustre/llite/xattr.c        |  1 +
 drivers/staging/lustre/lustre/lmv/lmv_obd.c        |  2 +-
 drivers/staging/lustre/lustre/lov/lov_internal.h   |  2 +-
 drivers/staging/lustre/lustre/lov/lov_request.c    | 10 ++---
 drivers/staging/lustre/lustre/mgc/mgc_request.c    |  5 ++-
 drivers/staging/lustre/lustre/obdclass/capa.c      |  5 +++
 drivers/staging/lustre/lustre/obdclass/obd_mount.c | 18 +++-----
 drivers/staging/lustre/lustre/osc/osc_cache.c      |  7 ++--
 drivers/staging/lustre/lustre/osc/osc_internal.h   |  2 +-
 drivers/staging/lustre/lustre/osc/osc_page.c       |  2 +-
 drivers/staging/lustre/lustre/osc/osc_request.c    | 17 +++-----
 drivers/staging/lustre/lustre/ptlrpc/client.c      | 32 +++++++++++---
 drivers/staging/lustre/lustre/ptlrpc/events.c      | 11 +++--
 drivers/staging/lustre/lustre/ptlrpc/gss/sec_gss.c | 29 +++++++++++++
 drivers/staging/lustre/lustre/ptlrpc/import.c      | 41 ++++++++++++++----
 drivers/staging/lustre/lustre/ptlrpc/niobuf.c      | 14 ++++---
 drivers/staging/lustre/lustre/ptlrpc/pinger.c      |  5 +++
 drivers/staging/lustre/lustre/ptlrpc/sec_null.c    | 11 +++++
 drivers/staging/lustre/lustre/ptlrpc/sec_plain.c   | 12 ++++++
 drivers/staging/lustre/lustre/ptlrpc/service.c     | 10 ++---
 33 files changed, 254 insertions(+), 108 deletions(-)
Signature · 1 line
1.9.0