Skip to content

Commit

Permalink
Merge branch 'release-1.18.0' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
edmc-ss committed Jan 22, 2021
2 parents 6122a06 + 3b1944c commit 1615828
Show file tree
Hide file tree
Showing 8,765 changed files with 4,944 additions and 3,399,382 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions CONFIGURING.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ For each of the keys supported, the following table will list whether or not its
| | HeartBeatMissLimit | No | 3 | Yes | No |
| | MessageQueueDepthPerPeer | No | 4 | Yes | No |
| | MaxRequestDuration | No | 1s | Yes | No |
| | LivenessCheckerEnabled | No | false | Yes | Yes |
| | LivenessCheckRedundancy | No | 2 | Yes | No |
| | LogLevel | No | <i>None</i> | Yes | No |
| Peer:<i>PeerName</i> | PublicIPAddr | Yes | | Yes | Yes but WhoAmI should remain |
Expand Down Expand Up @@ -109,6 +110,7 @@ For each of the keys supported, the following table will list whether or not its
| | TryLockBackoffMax | No | 50ms | Yes | No |
| | TryLockSerializationThreshhold | No | 5 | Yes | No |
| | SymlinkMax | No | 32 | Yes | No |
| | CoalesceElementChunkSize | No | 16 | Yes | No |
| | InodeRecCacheEvictLowLimit | Yes | | Yes | No |
| | InodeRecCacheEvictHighLimit | Yes | | Yes | No |
| | LogSegmentRecCacheEvictLowLimit | Yes | | Yes | No |
Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Copyright 2015-present, SwiftStack and the ProxyFS contributors
Copyright (c) 2015-2021, NVIDIA CORPORATION.
13 changes: 0 additions & 13 deletions GLIDE.md

This file was deleted.

3 changes: 3 additions & 0 deletions GoMakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

# GoMakefile is a template to be included by Go package Makefile's in this repo

all: version fmt generate install test
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

gopregeneratesubdirs = \
make-static-content

Expand Down Expand Up @@ -188,7 +191,7 @@ pfsagent-install:

pre-generate:
@set -e; \
go install github.com/swiftstack/ProxyFS/vendor/golang.org/x/tools/cmd/stringer; \
go install golang.org/x/tools/cmd/stringer; \
for gosubdir in $(gopregeneratesubdirs); do \
$(MAKE) --no-print-directory -C $$gosubdir install; \
done
Expand Down
16 changes: 3 additions & 13 deletions bin/autodoc
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
#!/usr/bin/env python
# Copyright (c) 2015 SwiftStack, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0


import argparse
import os
Expand Down
17 changes: 2 additions & 15 deletions bin/aws-multipart-test.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
#!/usr/bin/env python

#
# Copyright (c) 2019 SwiftStack, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
#

#
Expand Down
15 changes: 2 additions & 13 deletions bin/cleanswift
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
#!/bin/bash
# Copyright (c) 2015 SwiftStack, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

swift-init all stop
find /var/log/swift -type f -delete
Expand Down
3 changes: 3 additions & 0 deletions bin/pfs_stat
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env python

# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

import json
import os.path
import re
Expand Down
3 changes: 3 additions & 0 deletions bin/profile-proxyfsd.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env python2.7
#
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
#
# Collect periodic heap profiles from proxyfsd using the
# HTTP interface. This requies that proxyfsd be compiled with the
# patch included below.
Expand Down
3 changes: 3 additions & 0 deletions bin/proxyfsd-getprofile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/bash
#
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
#
# Collect periodic heap profiles from proxyfsd using the
# HTTP interface. This requies that proxyfsd be compiled with the
# patch included below.
Expand Down
15 changes: 2 additions & 13 deletions bin/rebuildswift
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
#!/bin/bash
# Copyright (c) 2015 SwiftStack, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

/vagrant/bin/cleanswift
rm -fr /etc/swift/*
Expand Down
15 changes: 2 additions & 13 deletions bin/reinstallswift
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
#!/bin/bash
# Copyright (c) 2015 SwiftStack, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

set -e
cd /tmp/vagrant-chef*/
Expand Down
15 changes: 2 additions & 13 deletions bin/remakerings
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
#!/bin/bash
# Copyright (c) 2015 SwiftStack, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

rm -f /etc/swift/*.builder /etc/swift/*.ring.gz \
/etc/swift/backups/*.builder /etc/swift/backups/*.ring.gz
Expand Down
15 changes: 2 additions & 13 deletions bin/resetswift
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
#!/bin/bash
# Copyright (c) 2015 SwiftStack, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

/vagrant/bin/cleanswift
cd /tmp/vagrant-chef*/ && sudo chef-solo -c solo.rb -j dna.json -o swift::data
Expand Down
3 changes: 3 additions & 0 deletions bin/space.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
#
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
#
# Outputs:
# VmSize (kB) sum for all smbd and proxyfsd processes on this node
# Disk space used (in 1K-blocks) by all Swift devices on this node
Expand Down
3 changes: 3 additions & 0 deletions bin/vmspace.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
#
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
#
# Output:
# VmSize (kB) sum for all smbd and proxyfsd processes on this node

Expand Down
15 changes: 2 additions & 13 deletions bin/vtox
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
#!/bin/bash
# Copyright (c) 2015 SwiftStack, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

# tox wrapper for vagrant
ARGS=${@:-"-e pep8,py27"}
Expand Down
3 changes: 3 additions & 0 deletions blunder/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

gosubdir := github.com/swiftstack/ProxyFS/blunder

generatedfiles := \
Expand Down
3 changes: 3 additions & 0 deletions blunder/api.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

// Package blunder provides error-handling wrappers
//
// These wrappers allow callers to provide additional information in Go errors
Expand Down
4 changes: 4 additions & 0 deletions blunder/api_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

package blunder

import (
Expand Down Expand Up @@ -36,6 +39,7 @@ func testSetup(t *testing.T) {
"FSGlobals.TryLockBackoffMax=50ms",
"FSGlobals.TryLockSerializationThreshhold=5",
"FSGlobals.SymlinkMax=32",
"FSGlobals.CoalesceElementChunkSize=16",
}

testConfMap, err = conf.MakeConfMapFromStrings(testConfStrings)
Expand Down
3 changes: 3 additions & 0 deletions bucketstats/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

gosubdir := github.com/swiftstack/ProxyFS/bucketstats

include ../GoMakefile
3 changes: 3 additions & 0 deletions bucketstats/api.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

// Package bucketstats implements easy to use statistics collection and
// reporting, including bucketized statistics. Statistics start at zero and
// grow as they are added to.
Expand Down
3 changes: 3 additions & 0 deletions bucketstats/api_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

package bucketstats

import (
Expand Down
3 changes: 3 additions & 0 deletions bucketstats/atomic_darwin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

package bucketstats

import (
Expand Down
3 changes: 3 additions & 0 deletions bucketstats/atomic_linux_amd64.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

package bucketstats

import (
Expand Down
3 changes: 3 additions & 0 deletions bucketstats/atomic_linux_arm.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

// Per bugs in the 32-bit versions of 64-bit sync/atomic API implementations,
// this file implements those operations by means of a global lock.

Expand Down
3 changes: 3 additions & 0 deletions bucketstats/impl.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

// The bucketstats Package implements convenient, easy to use, bucketized
// statistics.

Expand Down
3 changes: 3 additions & 0 deletions bucketstats/tables.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2015-2021, NVIDIA CORPORATION.
// SPDX-License-Identifier: Apache-2.0

// The bucketstats Package implements convenient, easy to use, bucketized
// statistics.

Expand Down
3 changes: 3 additions & 0 deletions ci/ansible/check_pinned_packages
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env python

# Copyright (c) 2015-2021, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

import json
import os
import subprocess
Expand Down
12 changes: 6 additions & 6 deletions ci/ansible/chef_files/packages/rhel_ss.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
["ss-samba", "4.6.2-3.el7"]
],
"samba_deps": [
["gcc", "4.8.5-39.el7"],
["gcc-c++", "4.8.5-39.el7"],
["python-devel", "2.7.5-88.el7"],
["gcc", "4.8.5-44.el7"],
["gcc-c++", "4.8.5-44.el7"],
["python-devel", "2.7.5-90.el7"],
["gnutls-devel", "3.3.29-9.el7_6"],
["libacl-devel", "2.2.51-15.el7"],
["openldap-devel", "2.4.44-21.el7_6"],
["openldap-devel", "2.4.44-22.el7"],
["cifs-utils", "6.2-10.el7"],
["pam-devel", "1.1.8-23.el7"]
],
Expand All @@ -24,10 +24,10 @@
["sshpass"]
],
"nfs_packages": [
["nfs-utils", "1.3.0-0.66.el7"]
["nfs-utils", "1.3.0-0.68.el7"]
],
"gdb_packages": [
["gdb", "7.6.1-119.el7"],
["gdb", "7.6.1-120.el7"],
["yum-utils"]
],
"utils_packages": [
Expand Down
Loading

0 comments on commit 1615828

Please sign in to comment.