Skip to content

Lustre cleanups.

Oleg Drokin lkml lustre-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15lustre: switch lnet_sock_write() to sock_sendmsg()drivers/staging/lustre/lnet/lnet/lib-socket.c+7 -140 replies
2/15lustre: simplify the living hell out of ksocknal_lib_recv_kiov()drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c+12 -920 replies
3/15lustre: don't reinvent struct bio_vecdrivers/staging/lustre/include/linux/lnet/types.h drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c +13 more+115 -1360 replies
4/15ksocknal_lib_recv_iov(): recvmsg doesn't bugger iovec anymore...drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c+5 -170 replies
5/15ksocknal_lib_send_iov(): sendmsg doesn't bugger iovec...drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c+10 -280 replies
6/15ksocknal_lib_send_kiov(): sendmsg doesn't bugger iovec...drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c+5 -240 replies
7/15lustre: ->kss_scratch... are unused nowdrivers/staging/lustre/lnet/klnds/socklnd/socklnd.h+0 -41 reply
8/15lustre: constify lib-move.c stuffdrivers/staging/lustre/include/linux/lnet/lib-lnet.h drivers/staging/lustre/lnet/lnet/lib-move.c+24 -240 replies
9/15lustre: pass iov_iter to ->lnd_recv()drivers/staging/lustre/include/linux/lnet/lib-types.h drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c +4 more+49 -510 replies
10/15lustre: introduce lnet_copy_{k,}iov2iter(), kill lnet_copy_{k,}iov2{k,}iov()drivers/staging/lustre/include/linux/lnet/lib-lnet.h drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c drivers/staging/lustre/lnet/lnet/lib-move.c +1 more+80 -3550 replies
11/15staging/lustre: Always return EEXIST on mkdir for existing namesdrivers/staging/lustre/lustre/llite/namei.c+6 -20 replies
12/15staging/lustre: Add spaces preferred around that '{+,-,*,/,|,<<,>>,&}'drivers/staging/lustre/lustre/include/lu_object.h drivers/staging/lustre/lustre/include/lustre/lustre_idl.h drivers/staging/lustre/lustre/include/lustre/lustre_user.h +34 more+121 -1053 replies
13/15staging/lustre: Fix unnecessary parentheses around variablesdrivers/staging/lustre/lustre/include/lustre/lustre_user.h drivers/staging/lustre/lustre/lov/lov_obd.c drivers/staging/lustre/lustre/lov/lov_pool.c +7 more+21 -210 replies
14/15staging/lustre: Make alignment match open parenthesisdrivers/staging/lustre/include/linux/libcfs/libcfs.h drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c +28 more+257 -2450 replies
15/15staging/lustre: Remove unused cp_error from struct cl_pagedrivers/staging/lustre/lustre/include/cl_object.h drivers/staging/lustre/lustre/obdclass/cl_page.c+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] Lustre cleanups.

Here are some more Lustre cleanups.
The biggest of the bunch being Al Viro's work to convert lnet to sendmsg and iovec iterators.

Also some style fixes.

Please consider.

Al Viro (10):
lustre: switch lnet_sock_write() to sock_sendmsg()
lustre: simplify the living hell out of ksocknal_lib_recv_kiov()
lustre: don't reinvent struct bio_vec ksocknal_lib_recv_iov(): recvmsg doesn't bugger iovec anymore... ksocknal_lib_send_iov(): sendmsg doesn't bugger iovec... ksocknal_lib_send_kiov(): sendmsg doesn't bugger iovec...
lustre: ->kss_scratch... are unused now
lustre: constify lib-move.c stuff
lustre: pass iov_iter to ->lnd_recv()
lustre: introduce lnet_copy_{k,}iov2iter(), kill

    lnet_copy_{k,}iov2{k,}iov()

Emoly Liu (3):
staging/lustre: Add spaces preferred around that '{+,-,*,/,|,<<,>>,&}' staging/lustre: Fix unnecessary parentheses around variables staging/lustre: Make alignment match open parenthesis

Oleg Drokin (2):
staging/lustre: Always return EEXIST on mkdir for existing names staging/lustre: Remove unused cp_error from struct cl_page

 .../staging/lustre/include/linux/libcfs/libcfs.h   |   6 +-
 .../lustre/include/linux/libcfs/libcfs_debug.h     |  10 +-
 .../staging/lustre/include/linux/lnet/lib-lnet.h   |  65 +---
 .../staging/lustre/include/linux/lnet/lib-types.h  |   5 +-
 drivers/staging/lustre/include/linux/lnet/types.h  |  16 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c    |   2 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h    |   3 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |  73 +++--
 .../staging/lustre/lnet/klnds/socklnd/socklnd.h    |   8 +-
 .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c |  37 +--
 .../lustre/lnet/klnds/socklnd/socklnd_lib.c        | 207 +++---------
 .../lustre/lnet/libcfs/linux/linux-crypto.c        |   4 +-
 drivers/staging/lustre/lnet/lnet/lib-md.c          |   6 +-
 drivers/staging/lustre/lnet/lnet/lib-move.c        | 346 +++++----------------
 drivers/staging/lustre/lnet/lnet/lib-socket.c      |  21 +-
 drivers/staging/lustre/lnet/lnet/lo.c              |  37 +--
 drivers/staging/lustre/lnet/lnet/router.c          |  10 +-
 drivers/staging/lustre/lnet/selftest/brw_test.c    |   4 +-
 drivers/staging/lustre/lnet/selftest/conrpc.c      |  15 +-
 drivers/staging/lustre/lnet/selftest/framework.c   |   4 +-
 drivers/staging/lustre/lnet/selftest/rpc.c         |   8 +-
 drivers/staging/lustre/lustre/include/cl_object.h  |   4 +-
 drivers/staging/lustre/lustre/include/lu_object.h  |   3 +-
 .../lustre/lustre/include/lustre/lustre_idl.h      |  42 +--
 .../lustre/lustre/include/lustre/lustre_user.h     |   4 +-
 drivers/staging/lustre/lustre/include/lustre_fid.h |   2 +-
 .../staging/lustre/lustre/include/lustre_lite.h    |   2 +-
 .../staging/lustre/lustre/include/obd_support.h    |  13 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_extent.c   |   4 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_flock.c    |   8 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_internal.h |  17 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lib.c      |   8 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c     |  26 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c    |  21 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_pool.c     |   4 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_request.c  |  14 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c |   5 +-
 drivers/staging/lustre/lustre/llite/dir.c          |   5 +-
 drivers/staging/lustre/lustre/llite/file.c         |   4 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c    |  25 +-
 drivers/staging/lustre/lustre/llite/llite_mmap.c   |   4 +-
 drivers/staging/lustre/lustre/llite/lproc_llite.c  |  14 +-
 drivers/staging/lustre/lustre/llite/namei.c        |  12 +-
 drivers/staging/lustre/lustre/llite/rw.c           |   9 +-
 drivers/staging/lustre/lustre/llite/rw26.c         |   2 +-
 drivers/staging/lustre/lustre/llite/statahead.c    |   3 +-
 drivers/staging/lustre/lustre/llite/super25.c      |   4 +-
 drivers/staging/lustre/lustre/llite/vvp_object.c   |   2 +-
 drivers/staging/lustre/lustre/llite/vvp_page.c     |   4 +-
 drivers/staging/lustre/lustre/lov/lov_ea.c         |   3 +-
 drivers/staging/lustre/lustre/lov/lov_obd.c        |  22 +-
 drivers/staging/lustre/lustre/lov/lov_pool.c       |  18 +-
 drivers/staging/lustre/lustre/mdc/mdc_locks.c      |   5 +-
 drivers/staging/lustre/lustre/mdc/mdc_reint.c      |   5 +-
 drivers/staging/lustre/lustre/obdclass/cl_page.c   |   4 +-
 drivers/staging/lustre/lustre/obdclass/debug.c     |   4 +-
 drivers/staging/lustre/lustre/obdclass/genops.c    |   6 +-
 drivers/staging/lustre/lustre/obdclass/llog.c      |   2 +-
 .../lustre/lustre/obdclass/lustre_handles.c        |   2 +-
 .../staging/lustre/lustre/obdclass/obd_config.c    |  14 +-
 drivers/staging/lustre/lustre/obdclass/obd_mount.c |  10 +-
 drivers/staging/lustre/lustre/obdclass/obdo.c      |   6 +-
 .../staging/lustre/lustre/obdecho/echo_internal.h  |   4 +-
 drivers/staging/lustre/lustre/osc/osc_cache.c      |  10 +-
 .../staging/lustre/lustre/osc/osc_cl_internal.h    |   2 +-
 drivers/staging/lustre/lustre/osc/osc_io.c         |   2 +-
 drivers/staging/lustre/lustre/osc/osc_request.c    |  14 +-
 drivers/staging/lustre/lustre/ptlrpc/client.c      |   2 +-
 drivers/staging/lustre/lustre/ptlrpc/import.c      |   6 +-
 .../staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c    |   2 +-
 drivers/staging/lustre/lustre/ptlrpc/niobuf.c      |   3 +-
 .../staging/lustre/lustre/ptlrpc/pack_generic.c    |  11 +-
 drivers/staging/lustre/lustre/ptlrpc/pers.c        |   6 +-
 drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c     |   4 +-
 drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c    |  11 +-
 drivers/staging/lustre/lustre/ptlrpc/sec_plain.c   |  32 +-
 drivers/staging/lustre/lustre/ptlrpc/service.c     |  24 +-
 drivers/staging/lustre/lustre/ptlrpc/wiretest.c    | 288 ++++++++---------
 78 files changed, 633 insertions(+), 1041 deletions(-)
Signature · 1 line
2.7.4