|
1 in-house |
|
2 |
|
3 Oracle HSM (originally known as: SAMFS - Storage Archivation Management + QFS) |
|
4 support of off-laid/staged files. SMB offers "off-line" flag for off-laid files |
|
5 so the SMB client can behave accordingly to such file-status: |
|
6 - explorer do not create thumbnails to avoid staging of all files in browsed dir. |
|
7 - explorer display a small "hand-watch" symbol in the corner of file-icon |
|
8 |
|
9 note: MacOS X ignore the "off-line" flag in SMB protocol. |
|
10 |
|
11 Originally promoted into the community by: |
|
12 https://bugzilla.samba.org/show_bug.cgi?id=5780 |
|
13 ...but during the SAMFS version change also the licensing conditions |
|
14 has changed so the community rejected to adopt the SAMFS support. |
|
15 |
|
16 --- a/source3/wscript 2016-08-03 06:29:54.129142866 -0700 |
|
17 +++ b/source3/wscript 2016-08-03 06:15:24.109052374 -0700 |
|
18 @@ -1549,6 +1549,13 @@ |
|
19 if conf.CHECK_HEADERS('cephfs/libcephfs.h', False, False, 'cephfs') and conf.CHECK_LIB('cephfs'): |
|
20 conf.DEFINE('HAVE_CEPH', '1') |
|
21 |
|
22 + if conf.CHECK_CFG(package='samfs', args="--cflags --libs", msg='Check for Oracle HSM (aka. SAMFS) API.', uselib_store="SAMFS") : |
|
23 + conf.SET_TARGET_TYPE('samfs', 'SYSLIB') |
|
24 + conf.CHECK_HEADERS('samfs/lib.h samfs/stat.h', lib='samfs') |
|
25 + conf.env['LINKFLAGS_SAMFS'] = [ '-R/opt/SUNWsamfs/lib' ] |
|
26 + conf.CHECK_FUNCS('sam_stat', lib='samfs') |
|
27 + default_shared_modules.extend(TO_LIST('vfs_samfs')) |
|
28 + |
|
29 if Options.options.with_glusterfs: |
|
30 conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api >= 4" --cflags --libs', |
|
31 msg='Checking for glusterfs-api >= 4', uselib_store="GFAPI") |
|
32 --- a/source3/modules/wscript_build 2016-01-26 12:25:54.000000000 -0800 |
|
33 +++ b/source3/modules/wscript_build 2016-07-28 16:27:45.819924564 -0700 |
|
34 @@ -194,6 +194,14 @@ |
|
35 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'), |
|
36 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl')) |
|
37 |
|
38 +bld.SAMBA3_MODULE('vfs_samfs', |
|
39 + subsystem='vfs', |
|
40 + source='vfs_samfs.c', |
|
41 + deps='samba-util samfs', |
|
42 + init_function='', |
|
43 + internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_samfs'), |
|
44 + enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_samfs')) |
|
45 + |
|
46 bld.SAMBA3_MODULE('vfs_zfsacl', |
|
47 subsystem='vfs', |
|
48 source='vfs_zfsacl.c', |