Skip to content

Commit

Permalink
libs: use nfs4j-0.21.x
Browse files Browse the repository at this point in the history
major version update with highlights:

 - minimal nfsv4.2 implementation
 - BerkeleyDBClientStore can be configure through properties
 - improved performance of ACCESS call
 - improved throughput of parallel file opens

Changelog for nfs4j-0.20.0...nfs4j-0.21.0
    * [36d3e3e9] [maven-release-plugin] prepare for next development iteration
    * [16794760] [maven-release-plugin] prepare release nfs4j-0.20.0
    * [b2fd4a1b] test: use StandardCharsets#US_ASCII instead of instantiating one
    * [0b38172b] vfs: add xattr access modes to the mask
    * [67f6c898] nfs4: fix en/decode of SETXATTR4res
    * [2e58ea52] nfs4: fix en/decode of REMOVEXATTR4res
    * [95db0e59] libs: use jline3
    * [a8c0ec1b] vfs: add missing xattr related methods to ForwardingFileSystem
    * [ad9c203b] nfsv4-client: convert if-else chain into switch statement
    * [6017e812] nfsv4-client: single point to exit command loop
    * [b0443625] nfs4: don't expose NFSv4.2 attributes to earlier versions of the clients
    * [05f51790] nfs42: add auto-generated code of NFSv4.2 data types
    * [5a36149f] nfs42: implement minimal nfs v4.2 server
    * [5adb2b63] nfs4: add constructor that accepts db properties to BerkeleyDBClientStore
    * [3b8d58d2] nfs: make spring dependency scope `provided`
    * [59550a9c] nfs4: simplify stateid4 class
    * [ae9e3d48] Expose case sensitivity settings
    * [15d38f26] Reduce number of callbacks when checking access flags. (#89)
    * [90b82cb5] Extract interface for client cache to allow custom implementations. See #37 for reasons of possible other lax implementations with non expiring client leases.
    * [872be90c] libs:  bump guava from 20.0 to 24.1.1-jre
    * [397b95b7] file-tracker: fix typo in comments
    * [d3b3cd75] nfs4: stop using deprecated guava API in tests
    * [c798bc1a] nfs4: use ConcurrentHashMap for open file tracking
    * [cdc1071b] nfs4: don't use InetAddresses.forString with catch block to validate IP address
    * [e1146bd1] docs: fix typo in README
    * [1de61da6] vfs: add IO read/write methods that accept ByteBuffer
    * [c37d8df2] docs: describe recent API changes
    * [53e8c140] docs: describe API changes
    * [34156a6e] src: move nfs4 client code into basic-client module
    * [fe51855b] nfsv4: make NO_TAG strng constant static
    * [f7c14ebb] [maven-release-plugin] prepare branch 0.21
    * [d72de147] [maven-release-plugin] prepare release nfs4j-0.21.0

The code adjusted to API changes.

Acked-by: Paul Millar
Acked-by: Lea Morschel
Target: master
Require-book: no
Require-notes: yes
  • Loading branch information
kofemann committed Jul 8, 2020
1 parent a1d8b9a commit fcb4a16
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public stateid4(byte[] other, int seq) {
}

public stateid4(org.dcache.nfs.v4.xdr.stateid4 stateid) {
this(stateid.other, stateid.seqid.value);
this(stateid.other, stateid.seqid);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,16 @@ public NfsIdMapping getIdMapper() {
return _idMapping;
}

@Override
public boolean getCaseInsensitive() {
return true;
}

@Override
public boolean getCasePreserving() {
return true;
}

private int typeToChimera(Stat.Type type) {
switch (type) {
case SYMLINK:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@
<dependency>
<groupId>org.dcache</groupId>
<artifactId>nfs4j-core</artifactId>
<version>0.20.2</version>
<version>0.21.0</version>
<exclusions>
<exclusion>
<groupId>org.dcache.common</groupId>
Expand Down

0 comments on commit fcb4a16

Please sign in to comment.