Skip to content

staging/lustre: fix various build issues

Peng Tao lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest17 patches 11 repliesIn review
  2. v217 patches 2 repliesSuperseded

Changes in v3 from the cover letter

fix IPv4 printk format ordering.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17staging/lustre: replace num_physpages with totalram_pagesdrivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h drivers/staging/lustre/lustre/ldlm/ldlm_lib.c drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c +7 more+23 -230 replies
2/17staging/lustre: fix Lustre code link orderdrivers/staging/lustre/Makefile drivers/staging/lustre/lnet/Makefile drivers/staging/lustre/lustre/Makefile+4 -40 replies
3/17staging/lustre: don't assert module ownerdrivers/staging/lustre/lustre/obdclass/lu_object.c+0 -30 replies
4/17staging/lustre: don't assert ln_refcount in LNetGetIddrivers/staging/lustre/lnet/lnet/api-ni.c+4 -10 replies
5/17stating/lustre: only build if configured as moduledrivers/staging/lustre/lustre/Kconfig+1 -10 replies
6/17staging/lustre: remove HIPQUADdrivers/staging/lustre/include/linux/libcfs/linux/linux-tcpip.h drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c +5 more+145 -1600 replies
7/17staging/lustre: fix build error when !CONFIG_SMPdrivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h drivers/staging/lustre/include/linux/libcfs/linux/linux-cpu.h drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c +2 more+37 -740 replies
8/17staging/lustre: fix build on s390drivers/staging/lustre/lustre/include/linux/lustre_user.h+11 -70 replies
9/17staging/lustre/llite: add missing include file for prefetchwdrivers/staging/lustre/lustre/llite/dir.c+1 -00 replies
10/17staging/lustre/llite: fix build erorr if CONFIG_FS_POSIX_ACL is offdrivers/staging/lustre/lustre/llite/llite_internal.h drivers/staging/lustre/lustre/llite/xattr.c+15 -80 replies
11/17staging/lustre: fix build when CONFIG_UIDGID_STRICT_TYPE_CHECKS is ondrivers/staging/lustre/include/linux/libcfs/curproc.h drivers/staging/lustre/lustre/include/linux/lvfs.h drivers/staging/lustre/lustre/include/lustre_cfg.h +17 more+93 -1010 replies
12/17staging/lustre: fix build error on non-x86 platformsdrivers/staging/lustre/include/linux/libcfs/libcfs.h drivers/staging/lustre/include/linux/libcfs/libcfs_private.h drivers/staging/lustre/lustre/include/linux/obd.h +9 more+21 -5960 replies
13/17staging/lustre: fix build warnning on 32bit systemdrivers/staging/lustre/lustre/include/lprocfs_status.h drivers/staging/lustre/lustre/lov/lov_io.c drivers/staging/lustre/lustre/obdclass/lprocfs_status.c+4 -40 replies
14/17staging/lustre: fix for invalidatepage() API changedrivers/staging/lustre/lustre/include/linux/lustre_patchless_compat.h drivers/staging/lustre/lustre/llite/rw26.c+4 -30 replies
15/17staging/lustre/llite: fix for d_compare API changedrivers/staging/lustre/lustre/llite/dcache.c drivers/staging/lustre/lustre/llite/llite_internal.h+2 -40 replies
16/17staging/lustre/llite: readdir convert to iteratedrivers/staging/lustre/lustre/llite/dir.c drivers/staging/lustre/lustre/llite/llite_internal.h drivers/staging/lustre/lustre/llite/llite_nfs.c+28 -340 replies
17/17staging/lustre: drop CONFIG_BROKENdrivers/staging/lustre/lustre/Kconfig+1 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH-v3 00/17] staging/lustre: fix various build issues

Hi Greg,

Now that 3.11-rc1 is out, please consider queuing following patches to fix various Lustre client build issues. I've verified that we can now pass build on sparc/mips/s390/powerpc/x86, both 32bits and 64bits.

V3 changelog:
fix IPv4 printk format ordering.

V2 changelog:
Add patches to fix API changes in 3.11 merge window and address comments on v1 patches. Lustre private watchdog is now removed.

Thanks,
Tao

Cc Fengguang Wu <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Andreas Dilger <[email protected]>

Peng Tao (16):
staging/lustre: replace num_physpages with totalram_pages staging/lustre: fix Lustre code link order
staging/lustre: don't assert module owner
staging/lustre: don't assert ln_refcount in LNetGetId stating/lustre: only build if configured as module staging/lustre: remove HIPQUAD
staging/lustre: fix build error when !CONFIG_SMP staging/lustre: fix build on s390
staging/lustre/llite: add missing include file for prefetchw staging/lustre/llite: fix build erorr if CONFIG_FS_POSIX_ACL is off staging/lustre: fix build when CONFIG_UIDGID_STRICT_TYPE_CHECKS is on staging/lustre: fix build error on non-x86 platforms staging/lustre: fix build warnning on 32bit system staging/lustre/llite: fix for d_compare API change staging/lustre/llite: readdir convert to iterate staging/lustre: drop CONFIG_BROKEN

Stephen Rothwell (1):
staging/lustre: fix for invalidatepage() API change

 drivers/staging/lustre/Makefile                    |    2 +-
 .../staging/lustre/include/linux/libcfs/curproc.h  |    2 -
 .../staging/lustre/include/linux/libcfs/libcfs.h   |   25 -
 .../lustre/include/linux/libcfs/libcfs_cpu.h       |   46 +-
 .../lustre/include/linux/libcfs/libcfs_private.h   |    1 -
 .../lustre/include/linux/libcfs/linux/linux-cpu.h  |    6 -
 .../lustre/include/linux/libcfs/linux/linux-mem.h  |    4 +-
 .../include/linux/libcfs/linux/linux-tcpip.h       |   15 -
 drivers/staging/lustre/lnet/Makefile               |    2 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c    |   10 +-
 .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |   12 +-
 .../staging/lustre/lnet/klnds/socklnd/socklnd.c    |   50 +-
 .../staging/lustre/lnet/klnds/socklnd/socklnd_cb.c |   94 ++--
 .../lustre/lnet/klnds/socklnd/socklnd_proto.c      |   60 +--
 drivers/staging/lustre/lnet/lnet/acceptor.c        |   62 +--
 drivers/staging/lustre/lnet/lnet/api-ni.c          |    5 +-
 drivers/staging/lustre/lustre/Kconfig              |    2 +-
 drivers/staging/lustre/lustre/Makefile             |    4 +-
 .../lustre/include/linux/lustre_patchless_compat.h |    2 +-
 .../lustre/lustre/include/linux/lustre_user.h      |   18 +-
 drivers/staging/lustre/lustre/include/linux/lvfs.h |    8 +-
 drivers/staging/lustre/lustre/include/linux/obd.h  |    5 +-
 .../staging/lustre/lustre/include/lprocfs_status.h |    4 +-
 drivers/staging/lustre/lustre/include/lustre_cfg.h |    4 -
 drivers/staging/lustre/lustre/include/lustre_net.h |    7 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lib.c      |   10 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c     |    2 +-
 drivers/staging/lustre/lustre/libcfs/Makefile      |    2 +-
 .../staging/lustre/lustre/libcfs/linux/linux-cpu.c |   46 +-
 .../lustre/lustre/libcfs/linux/linux-curproc.c     |   16 -
 .../lustre/lustre/libcfs/linux/linux-debug.c       |   45 +-
 .../lustre/lustre/libcfs/linux/linux-module.c      |    2 +-
 .../lustre/lustre/libcfs/linux/linux-tcpip.c       |    4 +-
 .../lustre/lustre/libcfs/linux/linux-tracefile.c   |    2 +-
 drivers/staging/lustre/lustre/libcfs/watchdog.c    |  516 --------------------
 drivers/staging/lustre/lustre/llite/dcache.c       |    5 +-
 drivers/staging/lustre/lustre/llite/dir.c          |   55 +--
 .../staging/lustre/lustre/llite/llite_internal.h   |   28 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c    |   13 +-
 drivers/staging/lustre/lustre/llite/llite_nfs.c    |   13 +-
 drivers/staging/lustre/lustre/llite/lproc_llite.c  |   11 +-
 drivers/staging/lustre/lustre/llite/namei.c        |    7 +-
 drivers/staging/lustre/lustre/llite/remote_perm.c  |   11 +-
 drivers/staging/lustre/lustre/llite/rw.c           |    2 +-
 drivers/staging/lustre/lustre/llite/rw26.c         |    5 +-
 drivers/staging/lustre/lustre/llite/vvp_object.c   |    8 +-
 drivers/staging/lustre/lustre/llite/xattr.c        |    2 +
 drivers/staging/lustre/lustre/lmv/lmv_obd.c        |   12 +-
 drivers/staging/lustre/lustre/lov/lov_io.c         |    2 +-
 drivers/staging/lustre/lustre/mdc/mdc_lib.c        |   25 +-
 drivers/staging/lustre/lustre/mdc/mdc_request.c    |    8 +-
 drivers/staging/lustre/lustre/obdclass/class_obd.c |    9 +-
 drivers/staging/lustre/lustre/obdclass/idmap.c     |   12 +-
 .../lustre/lustre/obdclass/linux/linux-obdo.c      |    4 +-
 .../lustre/lustre/obdclass/linux/linux-sysctl.c    |    6 +-
 .../lustre/lustre/obdclass/lprocfs_status.c        |    2 +-
 drivers/staging/lustre/lustre/obdclass/lu_object.c |    5 +-
 drivers/staging/lustre/lustre/obdclass/obdo.c      |   16 +-
 .../staging/lustre/lustre/obdecho/echo_client.c    |   12 +-
 drivers/staging/lustre/lustre/osc/lproc_osc.c      |    2 +-
 drivers/staging/lustre/lustre/osc/osc_io.c         |    2 +-
 .../staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c    |    2 +-
 drivers/staging/lustre/lustre/ptlrpc/sec.c         |   19 +-
 drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c    |    4 +-
 drivers/staging/lustre/lustre/ptlrpc/service.c     |   19 +-
 65 files changed, 393 insertions(+), 1023 deletions(-)
 delete mode 100644 drivers/staging/lustre/lustre/libcfs/watchdog.c
Signature · 1 line
1.7.9.5