[Gluster-devel] Fwd: [Nfs-ganesha-devel] Announce: Push of next pre-2.0-dev_49

Anand Subramanian anands at redhat.com
Sat Sep 14 10:18:18 UTC 2013


FYI, the FSAL (File System Abstraction Layer) for Gluster is now available in the upstream nfs-ganesha community (details of branch, tag and commit below). This enables users to export Gluster volumes through nfs-ganesha and for use by both nfs v3 and v4 clients. Please note that this is an on-going effort.

More details wrt configuration, building etc. will follow.

Anand


----- Forwarded Message -----
From: Jim Lieb <jlieb at panasas.com>
To: nfs-ganesha-devel at lists.sourceforge.net
Sent: Fri, 13 Sep 2013 22:20:43 -0400 (EDT)
Subject: [Nfs-ganesha-devel] Announce: Push of next pre-2.0-dev_49

Pushed to the project repo:

  git://github.com/nfs-ganesha/nfs-ganesha.git     branch next

Branch: next
Tag: pre-2.0-dev_49

This week's merge is big.  It also took a little extra effort to file and fit
some of the pieces to get them to slide into place.

The Red Hat Gluster FS team has submitted their fsal.  I have built it
but have not tested it.  It requires the glfsapi library and a header
which I can supply to anyone else who wants to play.  They will be testing
with us at BAT in Boston this month.  It is built by default but the build 
will be disabled if the build cannot find the header or libary.

IBM has also submitted the Protectier fsal.  I have not built this but we
expect a report from their team once they have tested the merge.
Its build is off by default.

The Pseudo filesystem handle for v4 has been reworked.  This was done
to get the necessary handle changes in for V2.0.  Further work on pseudo file
system infrastructure will build on this in 2.1.

Frank and the IBM team submitted a large set of 1.5 to 2.0 bugfix ports.  This
is almost all of them.  Frank has updated the port document reflecting current
state.  Please feel free to grab some patches and port them.

As usual, there have been bugfixes in multiple places.

We tried to get the 1.5 log rotation and compression code in but found some
bugs that will take more than a few line fix to get working in 2.0.  As a 
result, it has been reverted.

Highlights:

* FSAL_GLUSTER is a new fsal to export Gluster FS

* FSAL_PT is a new fsal for the Protectier file system

* Rework of the PseudoFS file handle format (NVFv4+ only)

* More 1.5 to 2.0 bugfix ports

* Lots of bugfixes

Enjoy

Jim
-- 
Jim Lieb
Linux Systems Engineer
Panasas Inc.

"If ease of use was the only requirement, we would all be riding tricycles"
- Douglas Engelbart 1925–2013

Short log from pre-2.0-dev_47
--------------------------------------------------
commit b2a927948e627367d87af04892afbb031ed85d75
Author: Jeremy Bongio <jbongio at us.ibm.com>

    Don't access export in SAVEFH request when FH is for pseudofs and fix up 
references

commit 03228228ab64f8d004b864ae7829b51707bfc068
Author: Jim Lieb <jlieb at panasas.com>

    Revert "Added support for rotation and compression of log files."

commit 0f8690df03a57243d65f20d23c53f86a9e0b17cc
Merge: cca7875 9483a7d
Author: Jim Lieb <jlieb at panasas.com>

    Merge remote-tracking branch 'ffilz/porting-doc' into merge_next

commit cca787542d85112cb3e0706caf5ae007b8cd5285
Merge: 2f0118d af03de5
Author: Jim Lieb <jlieb at panasas.com>

    Merge remote-tracking branch 'martinetd/for_dev_49' into merge_next

commit 9483a7d7ab54a5e6e6daf4521928b147fa7329b8
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Clean up porting doc

commit d19cadcf4069976c299e968e890efc8d0ccf001a
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Update porting doc for dev_49

commit 2f0118d2eb9a3f95cff08070ff3453ca7ce0d4a2
Merge: a75665a 9530440
Author: Jim Lieb <jlieb at panasas.com>

    Merge branch 'glusterfs' into merge_next

commit a75665ac75c01e767780cea023c2a8f74b46e2a0
Merge: 3c7578c 183e044
Author: Jim Lieb <jlieb at panasas.com>

    Merge remote-tracking branch 'sachin/next' into merge_next

commit 3c7578cde4d47344b0dac2264e9990de3b029ba6
Merge: c0aa16f 75d81d1
Author: Jim Lieb <jlieb at panasas.com>

    Merge remote-tracking branch 'linuxbox2/next' into merge_next

commit c0aa16f8ea25c3dae059b349302083291ea7af9d
Author: Jim Lieb <jlieb at panasas.com>

    Fixups to logging macros and display logic

commit 183e0440d2d8a9f1ef0513807829fd7c15e568d4
Author: Sachin Bhamare <sbhamare at panasas.com>

    Fix the order in which credentials are set in fsal_set_credentials().

commit 0af11c7592092825098215733fc9a14cbc9bcfe3
Author: Sachin Bhamare <sbhamare at panasas.com>

    Fix bugs in FreeBSD version of setuser() and setgroup().

commit b9ca8bddbe140f90c216aeb6611465060607420e
Merge: 9629e2a 5eeb095
Author: Jim Lieb <jlieb at panasas.com>

    Merge remote-tracking branch 'ganltc/ibm_next_20' into merge_next

commit 953044057566c7d9013b276a14879a3f226d6972
Author: Jim Lieb <jlieb at panasas.com>

    Fixups to glusterfs build

commit 5eeb095abfc07819426f09f70e455f8f17cbff48
Merge: 751ac7b da47438
Author: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

    Merge branch 'tp/pt_port_v14' into ibm_next_20_tmp

commit 9629e2a0c831a9dde54da5b373bedaf9272d76b3
Author: Jeremy Bongio <jbongio at us.ibm.com>

    Ignore case when matching FSAL attribute in EXPORT entries.

commit 3d37e75d9b381488ed09ee3bbb5becb89c0db71e
Author: Jeremy Bongio <jbongio at us.ibm.com>

    exp is allocated with export_stats, it should not be freed by itself.

commit d19aae3c86d3b42995905c77f5466e7fd7ea4bc2
Author: Jeremy Bongio <jbongio at us.ibm.com>

    Revamp NFS v4 handle to eliminate xattr, pseudofs, and replace ds_flag with 
generic flags

commit 910bb4ddceb9da69dcea7212bd79ad01cfe6b1b1
Author: Jeremy Bongio <jbongio at us.ibm.com>

    Changes to pseudofs code for new nfsv4 file handle.

commit 982f30423ddb1cb2171ffc3c4a096f5ce3203955
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Strip out broken xattr handling

commit da4743884b2ca03d1a5d38041ed5d0bdee42ebc6
Author: Allison Henderson <achender at linux.vnet.ibm.com>

    Initial new source code drop for support of Protectier FSAL in 2.0.

commit 75d81d1574f22cea82b9ab172947a95e7d0dcc13
Author: rong zeng <rongzeng at oc1354525745.ibm.com>

    Lock fix for cache_inode_lookup_impl

commit af03de5701d95c87b3d8fc9466a66c18bde69d07
Author: Dominique Martinet <dominique.martinet at cea.fr>

    FSAL LUSTRE/HPSS: remove unused include fsal-specific fsal_types.h

commit 1cefcabf3da7d1f29a6bfe7d2528206583d30ed3
Author: Anand Subramanian <anands at redhat.com>

    nfs-ganesha and glusterfs integration initial drop for FSAL_GLUSTER

commit d8d2ecec043e51b131118bb7a9eccd1d6651eb0a
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Update 15to20-porting.txt and include remaining categorizations

commit 9e3da937137d0b1623df894c9668936e5691f513
Author: Srikrishan Malik <srimalik at in.ibm.com>

    Skip setattr if the create has already handled them.
    Most of the clients only set mode with create and all other attributes
    are set to deafault.
    An extra setattr call will be made only if the client wants to use non
    default values.

commit d1ef48b63b38fd0309cc4069ebe00daa8e4b13d7
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Remove permission checking from cache_inode_open

commit c735c0acb4dad9a3f89f54c260d94fe409e317ff
Author: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

    If we get a ESTALE on readdir retry the dirent
    as we might have hit with a old dirent which we kept for
    performance reasons

commit 6509811a0f0a619c346965563f30f7d25db216ab
Author: Jeremy Bongio <jbongio at us.ibm.com>

    Use a more reasonable readdir entry count estimate for v3.

commit 751ac7b1dfa8d1e8d83ff8d6d556f3197429f94d
Author: Poornima Gupte <poornima.gupte at in.ibm.com>

    Added support for rotation and compression of log files.
    Added a sample log configuration file.

commit 737a2c840a7c9bfcdd0a89cd5fbefde9e86de963
Author: Frank S. Filz <ffilz at us.ibm.com>

    Get rid of unused LOG_MESSAGE_VERBOSITY

commit 5c929c4bbac87f83a42119e7c4a6f10b5d3db7ec
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add optional FILE_NAME and LINE_NUM to log headers

commit 1b54a25aa6a6a215bb4bd384725dd69583d0b89a
Author: Frank S. Filz <ffilz at us.ibm.com>

    Change from log dest per component to global log dest

commit de17a3e92687c200adf789b1923ade7453648140
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add some Doxygen comments

commit b29f2af7d520b74e7265de0b20546f405c32bd3f
Author: Frank S. Filz <ffilz at us.ibm.com>

    Deprecate log config in component config stanzas

commit e8fbe1085ea015d7cec1a500d2608c90945e3a66
Author: Frank S. Filz <ffilz at us.ibm.com>

    Trim thread name length

commit 5def07cfad33d34c4c74c5894e6fcf8299676f13
Author: Frank S. Filz <ffilz at us.ibm.com>

    Use display buffer in log_functions

commit 682fa3ef8876b2b04ca5c21ac19ca33282254047
Author: Frank S. Filz <ffilz at us.ibm.com>

    Remove use of log_snprintf and log_fprintf from shell and 
Log/test_liblog_functions.c

commit 72488c1e27f406dfa6ea0b9808a5d943bd5a7165
Author: Frank S. Filz <ffilz at us.ibm.com>

    Fixup cache inode hash functions in shell

commit e2a2fefa3ca47746b8049e66b1e0dd05fdff6839
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Some miscellaneous log changes that seemed valuable from 1.5

commit c24876e69c6ac9ffd2822bd8d86273749a703b71
Author: Frank S. Filz <ffilz at us.ibm.com>

    Set process umask from config

commit 960992e9a9d6ff32d0567ef87d75d4f104be11a0
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Fix a couple exit conditions in cache_inode_readdir

commit bd451c42b846ebf84d427972cdb668ea7e14f360
Author: Frank S. Filz <ffilz at us.ibm.com>

    Return EPERM instead of EACCESS for ACL when appropriate

commit eadfe60775d18cece7803884c05e5cf62135280e
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add some debug for cache_inode_rename and cache_inode_remove

commit e72be6671bff622d22b0b7e6a2bcb5ac9dd3dbee
Author: Frank S. Filz <ffilz at us.ibm.com>

    Make debugging permission checking easier.

commit 8b5f31af3d66376ca09123962ba1c3846a7d1968
Author: Frank S. Filz <ffilz at us.ibm.com>

    Fix typos in FSAL/access_check.c

commit d1867d489cc81992f1c0ced00fdb7f9fea89bf1b
Author: Venkateswararao Jujjuri (JV) <jvrao at linux.vnet.ibm.com>

    Fix directory fd leak.

commit 8027886bd1a9d8168052a87b198ebecc97450d3d
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Remove sticky_bit handling

commit 05ce75d49ed383c0f78d18895438babff91ee6ce
Author: Frank S. Filz <ffilz at us.ibm.com>

    Simplify use of cache_inode_rename and Fix directory cache in 
cache_inode_rename

commit d000178df496042f3c12d8324eba55d657a34fdf
Author: Frank S. Filz <ffilz at us.ibm.com>

    Strip permission checking from cache_inode_remove

commit d723b97f3ef15307e01a8d2213fceb55d529a41f
Author: Frank S. Filz <ffilz at us.ibm.com>

    Properly permission check cache_inode_rdwr

commit 8928ca84502673426f3db5b94713db62967ce690
Author: Frank S. Filz <ffilz at us.ibm.com>

    Strip permission check cache_inode_link

commit 0bedf9dd8385daae231c3bd286aa073ec81d2623
Author: Frank S. Filz <ffilz at us.ibm.com>

    Fixup cache_inode_create in light of permissions work

commit 2073810b82e0a23e3e4f77524549369dbe0850aa
Author: Frank S. Filz <ffilz at us.ibm.com>

    Handle EROFS in GPFS by converting to ERR_FSAL_ROFS

commit c8f76b21f66ca0d0669adddbd01bbc06df771f3f
Author: Frank S. Filz <ffilz at us.ibm.com>

    Only get current attr in GPFSFSAL_setattrs when FSAL is at NIV_DEBUG

commit e8047547da6e0e84db17d2658ed306f522c4b781
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add fsal_set_credentials to fsal_symlink for FSAL_GPFS

commit 95610156f1aa7d5219b5450e9a5610e7cf8f5b8e
Author: Frank S. Filz <ffilz at us.ibm.com>

    Use fsal_set_credentials in GPFSFSAL_unlink, GPFSFSAL_rename, and 
GPFSFSAL_link

commit 1131513fbb8b85aa3cb85fb2da4bd88501c5ee77
Author: Asmita <avkarand at us.ibm.com>

    Fix problems in DESTROY_SESSSION and DESTROY_CLIENTID
    DESTROY_SESSION can only be invoked on a connection associated with the 
session
    DESTROY_CLIENTID on a non-existent CLIENTID should return STALE_CLIENTID

commit b8a2f02fde2c782799f2f56c609b0dcecf9856d4
Author: Marcus Watts <mdw at linuxbox.com>

    thread_delay_ms - really, milliseconds != nanoseconds.

commit aa60de3fffb85987ffda0c7f9c54866fb1c02d2b
Author: Marcus Watts <mdw at linuxbox.com>

    nfs4_op_sequence: Always V after P

commit ceaa72e867ac8723a345f51800edb3af16e18495
Author: Frank S. Filz <ffilz at us.ibm.com>

    Strip lots of code and Use COMMON_test_access instead

commit e1e6b68970b7d071f25d51f75e056ab6e7498446
Author: Frank S. Filz <ffilz at us.ibm.com>

    Strip explicit permission checking from FSAL_GPFS

commit a81ce0a4efba175b1ca74dee589ef8a5bde741a4
Author: Asmita <avkarand at us.ibm.com>

    Server must enforce utf8 encoding for the compound 'tag' argument.
    Compound request with an invalid 'tag' should be replied with 
NFS4ERR_INVAL

commit 47e836bec6e18948d2f2109aa0d55e22bd3a8e79
Author: Asmita <avkarand at us.ibm.com>

    Handling of NFS4ERR_OP_NOT_IN_SESSION and NFS4ERR_NOT_ONLY_OP errors.

commit 16af9a2aa051976ceff1279089e863d8bafeff0b
Author: Frank S. Filz <ffilz at us.ibm.com>

    Properly permission check cache_inode_lookup

commit 5c362d98bd724c874311b1a06073e33fec8e3492
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    NOT A PORT Fix return code issues in nfs_proto_tools.c including fix to 
nfs4_Fattr_cmp

commit 3fa38614f190e4db8c8912aeabea0707c6673ff1
Author: Frank S. Filz <ffilz at us.ibm.com>

    Properly permission check cache_inode_getattr

commit fe04e4685bb4644aff9132a1631126947c03ac2d
Author: Frank S. Filz <ffilz at us.ibm.com>

    Properly permission check cache_inode_readdir

commit 39aab0b42ac2d916cdd425d4b1f1b7bd57ae343d
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add ATTRS_NFS3 to cover all attrs in fattr3 structure

commit c5e3e52222a086a83644921615005e65a1ee42f7
Author: Frank S. Filz <ffilz at us.ibm.com>

    Use allowed/denied return from cache_inode_access_sw to simplify v3/4 
ACCESS

commit f32743c305b0f9050eefbb80c36256bc70b59b72
Author: Frank S. Filz <ffilz at us.ibm.com>

    Have cache_inode_get_changeid4 check trust of attrs

commit 1cf4d4484dc6aaac0b26e97bb48b38573d6bfdd0
Author: Frank S. Filz <ffilz at us.ibm.com>

    Fixup some error translations

commit db9fd31bc501dd9ecc4750045ddf57bd8ce500c6
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add a LogFullDebug of file type to nfs4_op_putfh

commit 8bc90455be9fba9431c17b900e16f9bbbfd9fdee
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add allowed and denied parms to access check routines

commit 058c8611370a8911917d30da92fe3c3ea999b6e0
Author: Frank S. Filz <ffilz at us.ibm.com>

    Make cache_inode_access_sw wrappers static inline

commit 2b1a9db4c56243c39cd78aa03fd4faf3f06632b5
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add some debug to cache_inode_access

commit ca3924913ee4c8eb0504a52a3de04e4ed034e252
Author: Frank S. Filz <ffilz at us.ibm.com>

    Remove unused FSAL_F_OK flag

commit 70684ce84ea371d1cc15f03a17835215ff40c138
Author: Frank S. Filz <ffilz at us.ibm.com>

    Remove unused FSAL_OWNER_OK flag

commit 83ac85814a7e0c7dfea315e9d6eeb17bd4877ce7
Author: Frank S. Filz <ffilz at us.ibm.com>

    Fixes in cache_inode_readdir

commit 29f3c41195fbfa6c8b93028b0f0812b28d0ff3ea
Author: Frank S. Filz <ffilz at us.ibm.com>

    Use display buffer for FSAL ACL checks

commit 18f99f195d6b99a92a6a2524d8c3cf759fbb2ef7
Author: Frank S. Filz <ffilz at us.ibm.com>

    Make generic ACL code and GPFS ACL code same so GPFS can use generic

commit 93736d7add40c41465b58f862cb64d1defce8897
Author: rong zeng <rongzeng at us.ibm.com>

    Fix hardcoded NFS4ERR_ACCESS return code in nfs4_op_open/nfs41_op_open.

commit 9a65feb1915f2377b3cc3539a672cd9b15e1fc5c
Author: Frank S. Filz <ffilz at us.ibm.com>

    Allow root execute permission if someone is allowed execute

commit 5aee232b846565e57cd5d9fbcf1853cebc738fcc
Author: Frank S. Filz <ffilz at us.ibm.com>

    Add is_open_write parm to cache_inode_setattr

commit f857d30860f602ba9997654d78d835bfbdc4861e
Author: Frank S. Filz <ffilz at us.ibm.com>

    Don't check for write access for OPEN share deny write

commit 5f2cfece0bf980cc09c9d9133eb02d06c5bfb4db
Author: Srikrishan Malik <srimalik at in.ibm.com>

    Perform owner override check in protocol routines (read and write)

commit 0549bd5bc31f2b19accee317679997f447f49743
Author: Frank S. Filz <ffilz at us.ibm.com>

    Fix MOUNTED_ON_FILEID, setting from export if entry is export root

commit 4357b7630d6866464bedb823b36d6e6ccb3427df
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Restructure cache_inode_readdir callback to be made from 
cache_inode_getattr

commit 95d29ad2a7d31ead3367dc3ab059cc7f646a1a29
Author: Frank S. Filz <ffilzlnx at mindspring.com>

    Make some cosmetic changes to readdir to make porting easier

commit eafc637838a24d52456ea5c35325c9004e8f3fdb
Author: Matt Benjamin <matt at linuxbox.com>

    Break out cast pointing into sockaddr_in6.s6_addr (strict aliasing).

commit bd960bf4ec2392c2423aa2997bc9b46c20540840
Author: Matt Benjamin <matt at linuxbox.com>

    Break out cast pointing into sockaddr_in6.s6_addr (strict aliasing).

commit 55424a8e90fc0ae8187f5de1a6edf761eb5ec494
Author: Matt Benjamin <matt at linuxbox.com>

    Assign RES_READDIR3_OK invariantly (werror).

commit e582ceaa8e5be8ef9e04a16c5ff1e300d934caa6
Author: Matt Benjamin <matt at linuxbox.com>

    Initialize grp_tail proc_export (werror).

commit 463c82c518bfe2569bc51e335bac166ee04a8f8d
Author: Matt Benjamin <matt at linuxbox.com>

    Avoid overrunning buffer strcaller if getpeername fails.

commit 9f39ee2764b1ace39d6dd6ee6ab1af66db159033
Author: Matt Benjamin <matt at linuxbox.com>

    Return cache_entry refs in dirent populate callback.


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel





More information about the Gluster-devel mailing list