[gentoo-commits] proj/sci:master commit in: sys-cluster/lustre/files/, sys-cluster/lustre/

2020-09-27 Thread Aisha Tammy
commit: 1444a16c3163253eb3117f30b0fc7154d1445324
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sun Sep 27 15:55:05 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Sun Sep 27 15:55:05 2020 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=1444a16c

sys-cluster/lustre: drop package

present in ::gentoo

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy  aisha.cc>

 sys-cluster/lustre/files/lnet.initd  |  45 --
 sys-cluster/lustre/files/lustre-client.initd |  47 ---
 sys-cluster/lustre/lustre-2.10.1.ebuild  | 120 ---
 sys-cluster/lustre/lustre-2.8.0.ebuild   | 116 --
 sys-cluster/lustre/lustre-.ebuild| 118 --
 sys-cluster/lustre/metadata.xml  |  18 
 6 files changed, 464 deletions(-)

diff --git a/sys-cluster/lustre/files/lnet.initd 
b/sys-cluster/lustre/files/lnet.initd
deleted file mode 100644
index 227780c52..0
--- a/sys-cluster/lustre/files/lnet.initd
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Loads lnet module and configures network."
-
-depend() {
-need net
-after bootmisc
-}
-
-start() {
-if [ "${RC_CMD}" = "restart" ];
-then
-einfo "Restarting..."
-fi
-
-ebegin "Loading LNet modules:"
-modprobe lnet
-eend $*
-
-ebegin "Bringing up LNet"
-lnetctl lnet configure --all
-eend $*
-}
-
-stop() {
-local LNETMODULES=( "ko2iblnd" "lnet" "libcfs" )
-ebegin "Bringing down LNet"
-lnetctl lnet unconfigure --all
-eend $*
-
-einfo "Unloading LNet modules:"
-for mod in ${LNETMODULES[@]}; do
-ebegin "... ${mod}"
-modprobe -r ${mod}
-eend $*
-done
-}
-
-status()
-{
-einfo "LNet status:"
-lnetctl net show
-}

diff --git a/sys-cluster/lustre/files/lustre-client.initd 
b/sys-cluster/lustre/files/lustre-client.initd
deleted file mode 100644
index 2978b42b9..0
--- a/sys-cluster/lustre/files/lustre-client.initd
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Load lustre modules"
-
-extra_commands="checkmodule"
-
-depend() {
-need lnet
-before netmount
-}
-
-checkmodule() {
-local LOADED="$(lctl modules | awk -F"/" /lustre/'{print $2F}')"
-for mod in ${LOADED[@]}; do
-ewarn "Module is still loaded: ${mod}"
-eend $*
-done
-}
-
-start() {
-if [ "${RC_CMD}" = "restart" ];
-then
-einfo "Restarting Lustre..."
-checkmodule
-fi
-
-ebegin "Loading Lustre modules..."
-modprobe lustre
-eend $*
-}
-
-stop() {
-local LMODULES=( "lustre" "osc" "mgc" "lmv" "fld" "mdc" "fid" "lov" 
"ptlrpc" )
-ebegin "Trying to unmount all Lustre fs"
-umount -a -t lustre
-eend $*
-einfo "Unloading lustre modules:"
-for mod in ${LMODULES[@]}; do
-ebegin "... ${mod}"
-modprobe -r ${mod}
-eend $*
-done
-
-checkmodule
-}

diff --git a/sys-cluster/lustre/lustre-2.10.1.ebuild 
b/sys-cluster/lustre/lustre-2.10.1.ebuild
deleted file mode 100644
index b2b1d1b35..0
--- a/sys-cluster/lustre/lustre-2.10.1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WANT_AUTOCONF="2.5"
-WANT_AUTOMAKE="1.15"
-WANT_LIBTOOL="latest"
-
-if [[ $PV = ** ]]; then
-   scm="git-r3"
-   SRC_URI=""
-   EGIT_REPO_URI="git://git.whamcloud.com/fs/lustre-release.git"
-   KEYWORDS=""
-   EGIT_BRANCH="master"
-else
-   scm=""
-   SRC_URI="https://dev.gentoo.org/~alexxy/distfiles/${P}.tar.gz";
-   KEYWORDS="~amd64"
-fi
-
-SUPPORTED_KV_MAJOR=4
-SUPPORTED_KV_MINOR=9
-
-inherit ${scm} autotools linux-info linux-mod toolchain-funcs udev flag-o-matic
-
-DESCRIPTION="Lustre is a parallel distributed file system"
-HOMEPAGE="http://wiki.whamcloud.com/";
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="+client +utils +modules +dlc server readline tests"
-
-RDEPEND="
-   virtual/awk
-   dlc? ( dev-libs/libyaml )
-   readline? ( sys-libs/readline:0 )
-   server? (
-   >=sys-kernel/spl-0.6.1
-   >=sys-fs/zfs-kmod-0.6.1
-   sys-fs/zfs
-   )
-   "
-DEPEND="${RDEPEND}
-   dev-python/docutils
-   virtual/linux-sources"
-
-REQUIRED_USE="
-   client? ( modules )
-   server? ( modules )"
-
-pkg_pretend() {
-   KVSUPP=${SUPPORTED_KV_MAJOR}.${SUPPORTED_KV_MINOR}.x

[gentoo-commits] proj/sci:master commit in: sys-cluster/lustre/files/, sys-cluster/lustre/

2016-06-13 Thread Alexey Shvetsov
commit: 279da36e2dc5c1f36caf952117ebfd8d5030bf34
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Mon Jun 13 11:23:50 2016 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Mon Jun 13 11:23:50 2016 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=279da36e

sys-cluster/lustre: fix build with gcc-6.1

Package-Manager: portage-2.3.0_rc1

 ...8056-libcfs-Support-for-linux-4.2-kernels.patch |  2 +-
 ...56-o2iblnd-ib_query_device-removed-in-4.5.patch |  2 +-
 ...klnd-NETIF_F_ALL_CSUM-renamed-to-NETIF_F_.patch |  2 +-
 ...56-llite-use-inode_lock-to-access-i_mutex.patch |  2 +-
 ...te-inode_operations-interface-changed-in-.patch |  2 +-
 ...te-POSIX_ACL_XATTR_-ACCESS-DEFAULT-remove.patch |  2 +-
 ...op-fix-bio_for_each_segment_all-for-newer.patch |  2 +-
 .../files/0008-Fix-build-error-with-gcc-6.1.patch  | 31 ++
 .../files/lustre-do-not-include-udef.h.patch   | 12 -
 sys-cluster/lustre/lustre-2.8.54.ebuild|  4 +--
 10 files changed, 40 insertions(+), 21 deletions(-)

diff --git 
a/sys-cluster/lustre/files/0001-LU-8056-libcfs-Support-for-linux-4.2-kernels.patch
 
b/sys-cluster/lustre/files/0001-LU-8056-libcfs-Support-for-linux-4.2-kernels.patch
index e16ec2e..4e07906 100644
--- 
a/sys-cluster/lustre/files/0001-LU-8056-libcfs-Support-for-linux-4.2-kernels.patch
+++ 
b/sys-cluster/lustre/files/0001-LU-8056-libcfs-Support-for-linux-4.2-kernels.patch
@@ -1,7 +1,7 @@
 From 9b478d607922c9683663f8e317d93b840e528884 Mon Sep 17 00:00:00 2001
 From: Dmitry Eremin 
 Date: Thu, 5 May 2016 22:08:05 +0300
-Subject: [PATCH 1/7] LU-8056 libcfs: Support for linux 4.2 kernels
+Subject: [PATCH 1/8] LU-8056 libcfs: Support for linux 4.2 kernels
 
 In kernel version 4.2 commit df6b35f409af0a8ff1ef62f552b8402f3fef8665
 header file i387.h was renamed to fpu/api.h

diff --git 
a/sys-cluster/lustre/files/0002-LU-8056-o2iblnd-ib_query_device-removed-in-4.5.patch
 
b/sys-cluster/lustre/files/0002-LU-8056-o2iblnd-ib_query_device-removed-in-4.5.patch
index 6ce8433..5c0fcf9 100644
--- 
a/sys-cluster/lustre/files/0002-LU-8056-o2iblnd-ib_query_device-removed-in-4.5.patch
+++ 
b/sys-cluster/lustre/files/0002-LU-8056-o2iblnd-ib_query_device-removed-in-4.5.patch
@@ -1,7 +1,7 @@
 From 0242d060692573dcb6f09750a62db1fa0f6d36df Mon Sep 17 00:00:00 2001
 From: Li Dongyang 
 Date: Mon, 16 May 2016 17:18:39 +1000
-Subject: [PATCH 2/7] LU-8056 o2iblnd: ib_query_device removed in 4.5
+Subject: [PATCH 2/8] LU-8056 o2iblnd: ib_query_device removed in 4.5
 
 We should use the cached attributes in ib_device instead of
 calling ib_query_device since kernel 4.5

diff --git 
a/sys-cluster/lustre/files/0003-LU-8056-socklnd-NETIF_F_ALL_CSUM-renamed-to-NETIF_F_.patch
 
b/sys-cluster/lustre/files/0003-LU-8056-socklnd-NETIF_F_ALL_CSUM-renamed-to-NETIF_F_.patch
index 756c911..6101219 100644
--- 
a/sys-cluster/lustre/files/0003-LU-8056-socklnd-NETIF_F_ALL_CSUM-renamed-to-NETIF_F_.patch
+++ 
b/sys-cluster/lustre/files/0003-LU-8056-socklnd-NETIF_F_ALL_CSUM-renamed-to-NETIF_F_.patch
@@ -1,7 +1,7 @@
 From 6c3f19ba5b6db287980241e4d20be9ac5d0c1293 Mon Sep 17 00:00:00 2001
 From: Li Dongyang 
 Date: Mon, 16 May 2016 17:27:23 +1000
-Subject: [PATCH 3/7] LU-8056 socklnd: NETIF_F_ALL_CSUM renamed to
+Subject: [PATCH 3/8] LU-8056 socklnd: NETIF_F_ALL_CSUM renamed to
  NETIF_F_CSUM_MASK
 
 In kernel 4.5 NETIF_F_CSUM_MASK got renamed to NETIF_F_CSUM_MASK.

diff --git 
a/sys-cluster/lustre/files/0004-LU-8056-llite-use-inode_lock-to-access-i_mutex.patch
 
b/sys-cluster/lustre/files/0004-LU-8056-llite-use-inode_lock-to-access-i_mutex.patch
index e0aab10..361061f 100644
--- 
a/sys-cluster/lustre/files/0004-LU-8056-llite-use-inode_lock-to-access-i_mutex.patch
+++ 
b/sys-cluster/lustre/files/0004-LU-8056-llite-use-inode_lock-to-access-i_mutex.patch
@@ -1,7 +1,7 @@
 From ab0006e3a3bf5b0ff63f0914a9e7246dfa1729f8 Mon Sep 17 00:00:00 2001
 From: Li Dongyang 
 Date: Mon, 16 May 2016 17:40:55 +1000
-Subject: [PATCH 4/7] LU-8056 llite: use inode_lock to access i_mutex
+Subject: [PATCH 4/8] LU-8056 llite: use inode_lock to access i_mutex
 
 Linux kernel 4.5 introduced wrappers for i_mutex as the type
 of i_mutex will be changed in the future.

diff --git 
a/sys-cluster/lustre/files/0005-LU-8056-llite-inode_operations-interface-changed-in-.patch
 
b/sys-cluster/lustre/files/0005-LU-8056-llite-inode_operations-interface-changed-in-.patch
index 11f2de4..72af637 100644
--- 
a/sys-cluster/lustre/files/0005-LU-8056-llite-inode_operations-interface-changed-in-.patch
+++ 
b/sys-cluster/lustre/files/0005-LU-8056-llite-inode_operations-interface-changed-in-.patch
@@ -1,7 +1,7 @@
 From 0ec0c36d7a0ec5636e19eece4d5df7615f656c23 Mon Sep 17 00:00:00 2001
 From: Li Dongyang 
 Date: Mon, 16 May 2016 21:57:31 +1000
-Subject: [PATCH 5/7] LU-8056 llite: inode_operations interface changed in 4.5
+Subject: [PATCH 5/8] LU-8056 llite: inode_operations interface changed in 4.5
 
 Linux kernel 4.5 replaced follow_link() with get_link()
 while

[gentoo-commits] proj/sci:master commit in: sys-cluster/lustre/files/, sys-cluster/lustre/

2014-11-12 Thread Christoph Junghans
commit: 8b2bccbccf68519e9ab8b1bb748a3da2ee657714
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Nov 12 11:42:50 2014 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed Nov 12 11:42:50 2014 +
URL:http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8b2bccbc

sys-cluster/lustre: Move large patch into patch dir

Package-Manager: portage-2.2.14

---
 sys-cluster/lustre/ChangeLog   |4 +
 ...cfs-move-mdd-ofd-proc-handling-to-seq_fil.patch | 2082 
 sys-cluster/lustre/lustre-.ebuild  |4 +-
 3 files changed, 6 insertions(+), 2084 deletions(-)

diff --git a/sys-cluster/lustre/ChangeLog b/sys-cluster/lustre/ChangeLog
index 850f52b..185fd54 100644
--- a/sys-cluster/lustre/ChangeLog
+++ b/sys-cluster/lustre/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  12 Nov 2014; Justin Lecher  lustre-.ebuild,
+  -files/0002-LU-3319-procfs-move-mdd-ofd-proc-handling-to-seq_fil.patch:
+  Move large patch into patch dir
+
   29 May 2014; Alexey Shvetsov 
   files/0001-LU-3319-procfs-update-zfs-proc-handling-to-seq_files.patch,
   files/0002-LU-3319-procfs-move-mdd-ofd-proc-handling-to-seq_fil.patch,

diff --git 
a/sys-cluster/lustre/files/0002-LU-3319-procfs-move-mdd-ofd-proc-handling-to-seq_fil.patch
 
b/sys-cluster/lustre/files/0002-LU-3319-procfs-move-mdd-ofd-proc-handling-to-seq_fil.patch
deleted file mode 100644
index 813446c..000
--- 
a/sys-cluster/lustre/files/0002-LU-3319-procfs-move-mdd-ofd-proc-handling-to-seq_fil.patch
+++ /dev/null
@@ -1,2082 +0,0 @@
-From 9071634fd9db37a6121fdfbd817162f782661202 Mon Sep 17 00:00:00 2001
-From: James Simmons 
-Date: Mon, 5 May 2014 10:02:21 -0400
-Subject: [PATCH 2/3] LU-3319 procfs: move mdd/ofd proc handling to seq_files
-
-With 3.10 linux kernel and above proc handling now only
-uses struct seq_files. This patch migrates the mdd/ofd
-layer proc entries over to using seq_files.
-
-Signed-off-by: James Simmons 
-Change-Id: I61b7df6bfd5efd0f12e3ca1a1813b7b62d493168

- lustre/include/lustre_lfsck.h  |   6 +-
- lustre/lfsck/lfsck_internal.h  |   9 +-
- lustre/lfsck/lfsck_layout.c| 132 ---
- lustre/lfsck/lfsck_lib.c   |  88 +++-
- lustre/lfsck/lfsck_namespace.c |  75 ++-
- lustre/mdd/mdd_device.c|  25 +--
- lustre/mdd/mdd_internal.h  |   1 -
- lustre/mdd/mdd_lproc.c | 302 -
- lustre/ofd/lproc_ofd.c | 490 +
- lustre/ofd/ofd_dev.c   |  90 
- lustre/ofd/ofd_internal.h  |   6 +-
- 11 files changed, 543 insertions(+), 681 deletions(-)
-
-diff --git a/lustre/include/lustre_lfsck.h b/lustre/include/lustre_lfsck.h
-index 0d6f666..5adbffe 100644
 a/lustre/include/lustre_lfsck.h
-+++ b/lustre/include/lustre_lfsck.h
-@@ -148,12 +148,12 @@ int lfsck_in_notify(const struct lu_env *env, struct 
dt_device *key,
- int lfsck_query(const struct lu_env *env, struct dt_device *key,
-   struct lfsck_request *lr);
- 
--int lfsck_get_speed(struct dt_device *key, void *buf, int len);
-+int lfsck_get_speed(struct seq_file *m, struct dt_device *key);
- int lfsck_set_speed(struct dt_device *key, int val);
--int lfsck_get_windows(struct dt_device *key, void *buf, int len);
-+int lfsck_get_windows(struct seq_file *m, struct dt_device *key);
- int lfsck_set_windows(struct dt_device *key, int val);
- 
--int lfsck_dump(struct dt_device *key, void *buf, int len, enum lfsck_type 
type);
-+int lfsck_dump(struct seq_file *m, struct dt_device *key, enum lfsck_type 
type);
- 
- static inline void lfsck_pack_rfa(struct lfsck_request *lr,
- const struct lu_fid *fid)
-diff --git a/lustre/lfsck/lfsck_internal.h b/lustre/lfsck/lfsck_internal.h
-index 24b84ae..203ad74 100644
 a/lustre/lfsck/lfsck_internal.h
-+++ b/lustre/lfsck/lfsck_internal.h
-@@ -303,8 +303,7 @@ struct lfsck_operations {
- 
-   int (*lfsck_dump)(const struct lu_env *env,
- struct lfsck_component *com,
--char *buf,
--int len);
-+struct seq_file *m);
- 
-   int (*lfsck_double_scan)(const struct lu_env *env,
-struct lfsck_component *com);
-@@ -590,10 +589,10 @@ void lfsck_component_cleanup(const struct lu_env *env,
-struct lfsck_component *com);
- void lfsck_instance_cleanup(const struct lu_env *env,
-   struct lfsck_instance *lfsck);
--int lfsck_bits_dump(char **buf, int *len, int bits, const char *names[],
-+int lfsck_bits_dump(struct seq_file *m, int bits, const char *names[],
-   const char *prefix);
--int lfsck_time_dump(char **buf, int *len, __u64 time, const char *prefix);
--int lfsck_pos_dump(char **buf, int *len, struct lfsck_position *pos,
-+int lfsck_time_dump(struct seq_file *m, __u6