<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/modules/vfs_commit.c, branch talloc-2.0.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>s3:vfs_commit: fix build</title>
<updated>2011-06-24T12:51:31+00:00</updated>
<author>
<name>Björn Jacke</name>
<email>bj@sernet.de</email>
</author>
<published>2011-06-24T11:37:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d4ea319e7ad9ee2fc2fad0c016845f820681569a'/>
<id>d4ea319e7ad9ee2fc2fad0c016845f820681569a</id>
<content type='text'>
fix build

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User: Björn Jacke &lt;bj@sernet.de&gt;
Autobuild-Date: Fri Jun 24 14:51:31 CEST 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix build

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User: Björn Jacke &lt;bj@sernet.de&gt;
Autobuild-Date: Fri Jun 24 14:51:31 CEST 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-vfs: rename open function to open_fn.</title>
<updated>2011-04-21T00:01:20+00:00</updated>
<author>
<name>Günther Deschner</name>
<email>gd@samba.org</email>
</author>
<published>2011-04-20T20:55:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c7073f8b545976719bfdba7b7bbd460d595041d5'/>
<id>c7073f8b545976719bfdba7b7bbd460d595041d5</id>
<content type='text'>
This should finally fix the AIX build and allow to remove AIX specific ifdefs.

Guenther

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User: Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should finally fix the AIX build and allow to remove AIX specific ifdefs.

Guenther

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User: Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-vfs: include smbd/smbd.h in vfs modules.</title>
<updated>2011-03-29T23:13:08+00:00</updated>
<author>
<name>Günther Deschner</name>
<email>gd@samba.org</email>
</author>
<published>2011-03-22T21:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=45364f5e69c4ef00f6870e11213da930e802b6d0'/>
<id>45364f5e69c4ef00f6870e11213da930e802b6d0</id>
<content type='text'>
Guenther
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Guenther
</pre>
</div>
</content>
</entry>
<entry>
<title>vfs_commit: print warning when no fsync support is there</title>
<updated>2010-01-06T17:28:16+00:00</updated>
<author>
<name>Björn Jacke</name>
<email>bj@sernet.de</email>
</author>
<published>2009-12-13T20:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=350db0bf2548bd670ebff4587580ba9ca9212ac8'/>
<id>350db0bf2548bd670ebff4587580ba9ca9212ac8</id>
<content type='text'>
this one was part of an old patch from jpeach.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this one was part of an old patch from jpeach.
</pre>
</div>
</content>
</entry>
<entry>
<title>Restructure the connect function code to always call</title>
<updated>2009-11-30T23:53:04+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-11-30T23:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8303bc49a45d5bab0cdbd4f2d793088f600f715f'/>
<id>8303bc49a45d5bab0cdbd4f2d793088f600f715f</id>
<content type='text'>
down to NEXT-&gt; before initializing. This allows us to
do cleanup (by calling DISCONNECT) if initialization
fails. Also fix vfs_acl_xattr which was failing to
call the NEXT connect function.
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
down to NEXT-&gt; before initializing. This allows us to
do cleanup (by calling DISCONNECT) if initialization
fails. Also fix vfs_acl_xattr which was failing to
call the NEXT connect function.
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the smbd VFS typesafe</title>
<updated>2009-07-24T15:42:05+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-07-24T00:28:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=033185e2a1b2892fe8dc74a18a38e5e13e08cb22'/>
<id>033185e2a1b2892fe8dc74a18a38e5e13e08cb22</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some more VFS type errors</title>
<updated>2009-07-24T00:16:17+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-07-19T01:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=68028a73b6fd2bce66eabea5dd8a4187a6df6729'/>
<id>68028a73b6fd2bce66eabea5dd8a4187a6df6729</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some C++ warnings</title>
<updated>2009-07-24T00:15:28+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-07-19T01:28:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=19245509fc30239f408b726c8c8223c549f2718c'/>
<id>19245509fc30239f408b726c8c8223c549f2718c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Change SMB_VFS_OPEN to take an smb_filename struct</title>
<updated>2009-06-18T03:11:53+00:00</updated>
<author>
<name>Tim Prouty</name>
<email>tprouty@samba.org</email>
</author>
<published>2009-06-16T19:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4e3656b8d1d0bf8c0c4ade01332e7384ea890810'/>
<id>4e3656b8d1d0bf8c0c4ade01332e7384ea890810</id>
<content type='text'>
This was a little messy because of all of the vfs modules I had to
touch.  Most of them were pretty straight forward, but the streams
modules required a little attention to handle smb_filename.  Since the
use of smb_filename enables the vfs modules to access the raw,
over-the-wire stream, a little bit of the handling that was being done
by split_ntfs_stream_name has now been shifted into the individual
stream modules.  It may be a little more code, but overall it gives
more flexibility to the streams modules, while also allowing correct
stream handling.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was a little messy because of all of the vfs modules I had to
touch.  Most of them were pretty straight forward, but the streams
modules required a little attention to handle smb_filename.  Since the
use of smb_filename enables the vfs modules to access the raw,
over-the-wire stream, a little bit of the handling that was being done
by split_ntfs_stream_name has now been shifted into the individual
stream modules.  It may be a little more code, but overall it gives
more flexibility to the streams modules, while also allowing correct
stream handling.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT</title>
<updated>2009-05-26T15:48:23+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-05-14T13:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=49ca690b4b22ee6e597179059c9442e94c5bd423'/>
<id>49ca690b4b22ee6e597179059c9442e94c5bd423</id>
<content type='text'>
This patch introduces

struct stat_ex {
        dev_t           st_ex_dev;
        ino_t           st_ex_ino;
        mode_t          st_ex_mode;
        nlink_t         st_ex_nlink;
        uid_t           st_ex_uid;
        gid_t           st_ex_gid;
        dev_t           st_ex_rdev;
        off_t           st_ex_size;
        struct timespec st_ex_atime;
        struct timespec st_ex_mtime;
        struct timespec st_ex_ctime;
        struct timespec st_ex_btime; /* birthtime */
        blksize_t       st_ex_blksize;
        blkcnt_t        st_ex_blocks;
};
typedef struct stat_ex SMB_STRUCT_STAT;

It is really large because due to the friendly libc headers playing macro
tricks with fields like st_ino, so I renamed them to st_ex_xxx.

Why this change? To support birthtime, we already have quite a few #ifdef's at
places where it does not really belong. With a stat struct that we control, we
can consolidate the nanosecond timestamps and the birthtime deep in the VFS
stat calls.

At this moment it is triggered by a request to support the birthtime field for
GPFS. GPFS does not extend the system level struct stat, but instead has a
separate call that gets us the additional information beyond posix. Without
being able to do that within the VFS stat calls, that support would have to be
scattered around the main smbd code.

It will very likely break all the onefs modules, but I think the changes will
be reasonably easy to do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch introduces

struct stat_ex {
        dev_t           st_ex_dev;
        ino_t           st_ex_ino;
        mode_t          st_ex_mode;
        nlink_t         st_ex_nlink;
        uid_t           st_ex_uid;
        gid_t           st_ex_gid;
        dev_t           st_ex_rdev;
        off_t           st_ex_size;
        struct timespec st_ex_atime;
        struct timespec st_ex_mtime;
        struct timespec st_ex_ctime;
        struct timespec st_ex_btime; /* birthtime */
        blksize_t       st_ex_blksize;
        blkcnt_t        st_ex_blocks;
};
typedef struct stat_ex SMB_STRUCT_STAT;

It is really large because due to the friendly libc headers playing macro
tricks with fields like st_ino, so I renamed them to st_ex_xxx.

Why this change? To support birthtime, we already have quite a few #ifdef's at
places where it does not really belong. With a stat struct that we control, we
can consolidate the nanosecond timestamps and the birthtime deep in the VFS
stat calls.

At this moment it is triggered by a request to support the birthtime field for
GPFS. GPFS does not extend the system level struct stat, but instead has a
separate call that gets us the additional information beyond posix. Without
being able to do that within the VFS stat calls, that support would have to be
scattered around the main smbd code.

It will very likely break all the onefs modules, but I think the changes will
be reasonably easy to do.
</pre>
</div>
</content>
</entry>
</feed>
