search for: i_version

Displaying 12 results from an estimated 12 matches for "i_version".

Did you mean: _version
2012 Apr 09
9
[PATCH] Btrfs: use i_version instead of our own sequence
We''ve been keeping around the inode sequence number in hopes that somebody would use it, but nobody uses it and people actually use i_version which serves the same purpose, so use i_version where we used the incore inode''s sequence number and that way the sequence is updated properly across the board, and not just in file write. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> --- fs/btrfs/btrfs_inode.h | 3 --...
2001 Oct 28
4
Extended Attributes and Access Control Lists
Hello, I have today released an initial version of extended attributes and access control lists for ext3 (patch against the 2.4.13-ac3 kernel). Eric Jarman <ejarman@acm.org> has contributed a lot to this effort. Since I'm not very much into the innards of ext3, can some of you please take a look at the patch, and see whether it contains any flaws (and tell me which flaws)? Thanks! The
2001 Mar 20
2
ext3_rename ctime handling
...e object that is being renamed), but ext2 does. It looks to me like this is simply an omission of the following little patch from namei.c - Peter - --- fs/ext3/namei.c.orig Mon Mar 19 22:55:03 2001 +++ fs/ext3/namei.c Mon Mar 19 22:53:40 2001 @@ -985,6 +985,13 @@ new_dir->i_version = ++global_event; /* + * Like most other Unix systems, set the ctime for inodes on a + * rename. + */ + old_inode->i_ctime = CURRENT_TIME; + ext3_mark_inode_dirty(old_inode); + + /* * ok, that's it */ --
2003 Oct 01
1
3.7.1p2 sftp recurse patch
...:56:13 2003 @@ -50,6 +50,9 @@ /* This is set to 0 if the progressmeter is not desired. */ int showprogress = 1; +/* Recursive operations */ +int recursion = 0; + /* Seperators for interactive commands */ #define WHITESPACE " \t\r\n" @@ -81,6 +84,7 @@ #define I_SYMLINK 21 #define I_VERSION 22 #define I_PROGRESS 23 +#define I_RECURSE 24 struct CMD { const char *c; @@ -113,6 +117,7 @@ { "mput", I_PUT }, { "pwd", I_PWD }, { "quit", I_QUIT }, + { "recurse", I_RECURSE }, { "rename", I_RENAME }, { "rm", I_RM },...
2006 Apr 01
0
sftp tab completion patch (First release - NOT FOR INCLUDING YET)
...I_PROGRESS }, - { "put", I_PUT }, - { "mput", I_PUT }, - { "pwd", I_PWD }, - { "quit", I_QUIT }, - { "rename", I_RENAME }, - { "rm", I_RM }, - { "rmdir", I_RMDIR }, - { "symlink", I_SYMLINK }, - { "version", I_VERSION }, - { "!", I_SHELL }, - { "?", I_HELP }, - { NULL, -1} + { "bye", I_QUIT, NOARGS }, + { "cd", I_CHDIR, REMOTE }, + { "chdir", I_CHDIR, REMOTE }, + { "chgrp", I_CHGRP, REMOTE }, + { "chmod", I_CHMOD, REMOTE }, + { "cho...
2001 Mar 23
0
[linux-lvm] EXT2-fs panic (device lvm(58,0)):
...t;i_blocks = -1; - - i->i_hpfs_dno = 0; - i->i_hpfs_n_secs = 0; - i->i_hpfs_file_sec = 0; - i->i_hpfs_disk_sec = 0; - i->i_hpfs_dpos = 0; - i->i_hpfs_dsubdno = 0; - i->i_hpfs_ea_mode = 0; - i->i_hpfs_ea_uid = 0; - i->i_hpfs_ea_gid = 0; - i->i_hpfs_ea_size = 0; - i->i_version = ++event; - i->i_hpfs_rddir_off = NULL; - i->i_hpfs_dirty = 0; + /* The inode->u struct is zeroed for us by clear_inode() */ + i->i_version = ++event; i->i_atime = 0; i->i_mtime = 0; diff -ru linux-2.4.3p6/fs/nfs/inode.c linux-2.4.3p6-aed/fs/nfs/inode.c --- linux-2.4.3p6/...
2007 Dec 12
0
Revisiting sftp tab completion patch
...I_PROGRESS }, - { "put", I_PUT }, - { "mput", I_PUT }, - { "pwd", I_PWD }, - { "quit", I_QUIT }, - { "rename", I_RENAME }, - { "rm", I_RM }, - { "rmdir", I_RMDIR }, - { "symlink", I_SYMLINK }, - { "version", I_VERSION }, - { "!", I_SHELL }, - { "?", I_HELP }, - { NULL, -1} + { "bye", I_QUIT, NOARGS }, + { "cd", I_CHDIR, REMOTE }, + { "chdir", I_CHDIR, REMOTE }, + { "chgrp", I_CHGRP, REMOTE }, + { "chmod", I_CHMOD, REMOTE }, + { "cho...
2003 Oct 30
2
sftp client reget reput
...ad(struct sftp_conn *, char *, char *, int); +#endif #endif diff -u -r openssh-3.7.1p2/sftp-int.c openssh-3.7.1p2_sftp/sftp-int.c --- openssh-3.7.1p2/sftp-int.c 2003-09-23 04:24:21.000000000 -0500 +++ openssh-3.7.1p2_sftp/sftp-int.c 2003-10-16 10:52:02.000000000 -0500 @@ -82,6 +82,11 @@ #define I_VERSION 22 #define I_PROGRESS 23 +#ifdef REGET +# define I_REGET 24 +# define I_REPUT 25 +#endif + struct CMD { const char *c; const int n; @@ -118,6 +123,10 @@ { "rmdir", I_RMDIR }, { "symlink", I_SYMLINK }, { "version", I_VERSION }, +#ifdef REGET + { "rege...
2007 Sep 19
1
[PATCH 06/15] ocfs2: Remove open coded readdir()
...len); @@ -532,6 +532,26 @@ out: } /* + * This is intended to be called from inside other kernel functions, + * so we fake some arguments. + */ +int ocfs2_dir_foreach(struct inode *inode, loff_t *f_pos, void *priv, + filldir_t filldir) +{ + int ret = 0; + unsigned long version = inode->i_version; + + while (*f_pos < i_size_read(inode)) { + ret = ocfs2_dir_foreach_blk(inode, &version, f_pos, priv, + filldir); + if (ret) + break; + } + + return 0; +} + +/* * ocfs2_readdir() * */ diff --git a/fs/ocfs2/dir.h b/fs/ocfs2/dir.h index 7bf9c0a..075d0e9 100644 --- a/fs/ocfs2...
2002 Nov 05
0
[PATCH] Add getlink command to sftp
...it has on the + remote machine. .It Ic help Display help text. .It Ic lls Op Ar ls-options Op Ar path *** sftp-int.c@@\main\1 Tue Oct 1 17:27:02 2002 --- sftp-int.c Wed Oct 2 06:21:10 2002 *************** *** 74,79 **** --- 74,80 ---- #define I_SHELL 20 #define I_SYMLINK 21 #define I_VERSION 22 + #define I_GETLINK 23 struct CMD { const char *c; *************** *** 91,96 **** --- 92,98 ---- { "exit", I_QUIT }, { "get", I_GET }, { "mget", I_GET }, + { "getlink", I_GETLINK }, { "help", I_HELP }, { "lcd", I...
2012 Mar 20
13
[PATCH 0 of 3 v2] PV-GRUB: add support for ext4 and btrfs
Hi, The following patches add support for ext4 and btrfs to PV-GRUB. These patches are taken nearly verbatim from those provided by Fedora and Gentoo. We''ve been using these patches for the PV-GRUB images available in EC2 for some time now with no problems. Changes from v1: - Makefile has been changed to check the exit code from patch - The btrfs patch has been rebased to apply
2010 Nov 08
89
Re: DM-CRYPT: Scale to multiple CPUs v3 on 2.6.37-rc* ?
On Sun, Nov 07 2010 at 6:05pm -0500, Andi Kleen <andi@firstfloor.org> wrote: > On Sun, Nov 07, 2010 at 10:39:23PM +0100, Milan Broz wrote: > > On 11/07/2010 08:45 PM, Andi Kleen wrote: > > >> I read about barrier-problems and data getting to the partition when > > >> using dm-crypt and several layers so I don''t know if that could be > >