CVS log for xfs-linux/linux-2.6/xfs_iops.c

[BACK] Up to [Development] / xfs-linux / linux-2.6

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.303 / (download) - annotate - [select for diffs], Tue Oct 28 05:39:09 2008 UTC (8 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.302: +3 -3 lines
Diff to previous 1.302 (unified)

kill sys_cred

capable_cred has been unused for a while so we can kill it and sys_cred.
That also means the cred argument to xfs_setattr and
xfs_change_file_space can be removed now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32412a by kenmcd.

  kill sys_cred

Revision 1.302 / (download) - annotate - [select for diffs], Wed Oct 15 03:25:46 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.301: +13 -4 lines
Diff to previous 1.301 (unified)

Combine the XFS and Linux inodes

To avoid issues with different lifecycles of XFS and Linux inodes,
embedd the linux inode inside the XFS inode. This means that the
linux inode has the same lifecycle as the XFS inode, even when it
has been released by the OS. XFS inodes don't live much longer than
this (a short stint in reclaim at most), so there isn't significant
memory usage penalties here.

Version 3
o kill xfs_icount()

Version 2
o remove unused commented out code from xfs_iget().
o kill useless cast in VFS_I()

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:32323a by kenmcd.

  Combine the XFS and Linux inodes

Revision 1.301 / (download) - annotate - [select for diffs], Tue Oct 14 14:51:37 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.300: +1 -1 lines
Diff to previous 1.300 (unified)

Never call mark_inode_dirty_sync() directly

Once the Linux inode and the XFS inode are combined, we cannot rely
on just check if the linux inode exists as a method of determining
if it is valid or not. Hence we should always call
xfs_mark_inode_dirty_sync() instead as it does the correct checks to
determine if the liinux inode is in a valid state or not.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:32318a by kenmcd.

  Never call mark_inode_dirty_sync() directly

Revision 1.300 / (download) - annotate - [select for diffs], Fri Oct 3 04:30:43 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.299: +2 -3 lines
Diff to previous 1.299 (unified)

Merge up to 2.6.27-rc8
Merge of xfs-linux-melb:xfs-kern:32254a by kenmcd.

Revision 1.299 / (download) - annotate - [select for diffs], Wed Aug 6 06:13:30 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.298: +0 -46 lines
Diff to previous 1.298 (unified)

stop using file_update_time

xfs_ichtime updates the xfs_inode and Linux inode timestamps just fine,
no need to call file_update_time and then copy the values over to the
XFS inode.  The only additional thing in file_update_time are checks
not applicable to the write path.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31829a by kenmcd.

  stop using file_update_time

Revision 1.298 / (download) - annotate - [select for diffs], Wed Aug 6 06:12:39 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.297: +13 -6 lines
Diff to previous 1.297 (unified)

optimize xfs_ichgtime

Port a little optmization from file_update_time to xfs_ichgtime, and
only update the timestamp and mark the inode dirty if the timestamp
actually changes in the timer tick resultion supported by the running
kernel.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31827a by kenmcd.

  optimize xfs_ichgtime

Revision 1.297 / (download) - annotate - [select for diffs], Wed Aug 6 06:11:48 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.296: +0 -17 lines
Diff to previous 1.296 (unified)

update timestamp in xfs_ialloc manually

In xfs_ialloc we just want to set all timestamps to the current time.
We don't need to mark the inode dirty like xfs_ichgtime does, and we
don't need nor want the opimizations in xfs_ichgtime that I will
introduce in the next patch.

So just opencode the timestamp update in xfs_ialloc, and remove the new
unused XFS_ICHGTIME_ACC case in xfs_ichgtime.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31825a by kenmcd.

  update timestamp in xfs_ialloc manually

Revision 1.296 / (download) - annotate - [select for diffs], Tue Jul 29 04:18:41 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.295: +99 -4 lines
Diff to previous 1.295 (unified)

sanitize xfs_initialize_vnode

Sanitize setting up the Linux indode.

Setting up the xfs_inode <-> inode link is opencoded in xfs_iget_core
now because that's the only place it needs to be done,
xfs_initialize_vnode is renamed to xfs_setup_inode and loses all
superflous paramaters.  The check for I_NEW is removed because it always
is true and the di_mode check moves into xfs_iget_core because it's only
needed there.

xfs_set_inodeops and xfs_revalidate_inode are merged into
xfs_setup_inode and the whole things is moved into xfs_iops.c where it
belongs.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31782a by kenmcd.

Revision 1.295 / (download) - annotate - [select for diffs], Wed Jul 23 16:34:13 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.294: +1 -1 lines
Diff to previous 1.294 (unified)

Kill shouty XFS_ITOV() macro

Replace XFS_ITOV() with the new VFS_I() inline.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:31724a by kenmcd.

Revision 1.294 / (download) - annotate - [select for diffs], Wed Jul 23 16:32:19 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.293: +7 -7 lines
Diff to previous 1.293 (unified)

In several places we directly convert from the XFS inode
to the linux (VFS) inode by a simple deference of ip->i_vnode.
We should not do this - a helper function should be used to
extract the VFS inode from the XFS inode.

Introduce the function VFS_I() to extract the VFS inode
from the XFS inode. The name was chosen to match XFS_I() which
is used to extract the XFS inode from the VFS inode.

Version 2:
o don't use vn_to_inode() and inode_to_vn() functions as they
  are not needed

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:31720a by kenmcd.

Revision 1.293 / (download) - annotate - [select for diffs], Fri Jul 18 16:35:20 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.292: +1 -15 lines
Diff to previous 1.292 (unified)

Remove vn_revalidate calls in xfs.

These days most of the attributes in struct inode are properly kept in
sync by XFS.  This patch removes the need for vn_revalidate completely
by:
 - keeping inode.i_flags uptodate after any flags are updated in
   xfs_ioctl_setattr
 - keeping i_mode, i_uid and i_gid uptodate in xfs_setattr

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31679a by kenmcd.

  remove vn_revalidate calls in xfs.

Revision 1.292 / (download) - annotate - [select for diffs], Fri Jul 18 16:34:26 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.291: +11 -45 lines
Diff to previous 1.291 (unified)

Now that xfs_setattr is only used for attributes set from ->setattr it
can be switched to take struct iattr directly and thus simplify the
implementation greatly.  Also rename the ATTR_ flags to XFS_ATTR_ to
not conflict with the ATTR_ flags used by the VFS.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31678a by kenmcd.

  Now that xfs_setattr is only used for attributes set from ->setattr it
  can be switched to take struct iattr directly and thus simplify the
  implementation greatly.  Also rename the ATTR_ flags to XFS_ATTR_ to
  not conflict with the ATTR_ flags used by the VFS.
  Signed-off-by: Christoph Hellwig <hch@lst.de>

Revision 1.291 / (download) - annotate - [select for diffs], Fri Jun 20 04:03:40 2008 UTC (9 years, 3 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.290: +13 -48 lines
Diff to previous 1.290 (unified)

Don't update i_size for directories and special files

The core kernel uses vfs_getattr to look at the inode size and similar
attributes, so there is no need to keep i_size uptodate for directories
or special files.  This means we can remove xfs_validate_fields because
the I/O path already keeps i_size uptodate for regular files.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31336a by kenmcd.

  Don't update i_size for directories and special files

Revision 1.290 / (download) - annotate - [select for diffs], Fri Jun 20 04:02:48 2008 UTC (9 years, 3 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.289: +18 -36 lines
Diff to previous 1.289 (unified)

Merge xfs_rmdir into xfs_remove

xfs_remove and xfs_rmdir are almost the same with a little more work
performed in xfs_rmdir due to the . and .. entries.  This patch merges
xfs_rmdir into xfs_remove and performs these actions conditionally.

Also clean up the error handling which was a nightmare in both versions
before.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31335a by kenmcd.

  Merge xfs_vn_rmdir and xfs_vn_unlink

Revision 1.289 / (download) - annotate - [select for diffs], Mon Jun 16 04:04:34 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.288: +14 -0 lines
Diff to previous 1.288 (unified)

The vfs_unlink/d_delete functionality in the Linux VFS make the dentry
negative if it is the only inode being referenced. Case-insensitive mode
doesn't work with negative dentries, so if using CI-mode, invalidate the
dentry on unlink/rmdir.
Merge of xfs-linux-melb:xfs-kern:31308a by kenmcd.

  Invalidate dentry in unlink/rmdir if in CI mode

Revision 1.288 / (download) - annotate - [select for diffs], Tue May 27 06:12:23 2008 UTC (9 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.287: +13 -105 lines
Diff to previous 1.287 (unified)

Use the generic xattr methods.

Use the generic set, get and removexattr methods and supply the s_xattr
array with fine-grained handlers.  All XFS/Linux highlevel attr handling is
rewritten from scratch and placed into fs/xfs/linux-2.6/xfs_xattr.c so
that it's separated from the generic low-level code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31234a by kenmcd.

  Use generic set/get/remove xattr methods.

Revision 1.287 / (download) - annotate - [select for diffs], Mon May 26 04:00:40 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.286: +5 -1 lines
Diff to previous 1.286 (unified)

Remove d_add call for an ENOENT lookup return code
Merge of xfs-linux-melb:xfs-kern:31214a by kenmcd.

  Remove d_add call for an ENOENT lookup return code

Revision 1.286 / (download) - annotate - [select for diffs], Wed May 21 06:13:08 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.285: +56 -1 lines
Diff to previous 1.285 (unified)

Return case-insensitive match for dentry cache

This implements the code to store the actual filename found
during a lookup in the dentry cache and to avoid multiple entries
in the dcache pointing to the same inode.

To avoid polluting the dcache, we implement a new directory inode
operations for lookup. xfs_vn_ci_lookup() stores the correct case
name in the dcache.

The "actual name" is only allocated and returned for a case-
insensitive match and not an actual match.

Another unusual interaction with the dcache is not storing
negative dentries like other filesystems doing a d_add(dentry, NULL)
when an ENOENT is returned. During the VFS lookup, if a dentry
returned has no inode, dput is called and ENOENT is returned.
By not doing a d_add, this actually removes it completely from
the dcache to be reused. create/rename have to be modified to
support unhashed dentries being passed in.

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31208a by kenmcd.

  Add xfs_vn_ci_lookup function for CI mode

Revision 1.285 / (download) - annotate - [select for diffs], Thu May 15 06:17:24 2008 UTC (9 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.284: +1 -12 lines
Diff to previous 1.284 (unified)

Kill attr_capable checks as already done in xattr_permission.

No need for addition permission checks in the xattr handler,
fs/xattr.c:xattr_permission() already does them, and in fact slightly
more strict then what was in the attr_capable handlers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31164a by kenmcd.

  Kill attr_capable checks as already done in xattr_permission.

Revision 1.284 / (download) - annotate - [select for diffs], Mon Apr 21 06:18:18 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.283: +2 -1 lines
Diff to previous 1.283 (unified)

remove manual lookup from xfs_rename and simplify locking

->rename already gets the target inode passed if it exits.  Pass it down
to xfs_rename so that we can avoid looking it up again.  Also simplify
locking as the first lock section in xfs_rename can go away now:  the
isdir is an invariant over the lifetime of the inode, and new_parent and
the nlink check are namespace topology protected by i_mutex in the VFS.
The projid check needs to move into the second lock section anyway to
not be racy.

Also kill the now unused xfs_dir_lookup_int and remove the now-unused
first_locked argumet to xfs_lock_inodes.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30903a by kenmcd.

  remove manual lookup from xfs_rename and simplify locking

Revision 1.283 / (download) - annotate - [select for diffs], Wed Apr 9 16:35:28 2008 UTC (9 years, 6 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.282: +41 -14 lines
Diff to previous 1.282 (unified)

remove bhv_vname_t and xfs_rename code
Merge of xfs-linux-melb:xfs-kern:30804a by kenmcd.

  remove bhv_vname_t and xfs_rename code

Revision 1.282 / (download) - annotate - [select for diffs], Wed Apr 9 16:33:00 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.281: +9 -1 lines
Diff to previous 1.281 (unified)

Warn if errors come from block_truncate_page().

block_truncate_page() can return errors that we currently
ignore and silently discard. We should not ever get errors
reported here - an error indicates a bug somewhere else.
Hence catch the error and issue a stack dump to the syslog
because we cannot propagate the error any further up the
call chain.
Merge of xfs-linux-melb:xfs-kern:30800a by kenmcd.

  Warn if errors come from block_truncate_page().

Revision 1.281 / (download) - annotate - [select for diffs], Tue Feb 26 03:24:43 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.280: +16 -18 lines
Diff to previous 1.280 (unified)

cleanup vnode use in xfs_iops.c

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30552a by kenmcd.

  cleanup vnode use in xfs_iops.c

Revision 1.280 / (download) - annotate - [select for diffs], Tue Feb 26 03:22:59 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.279: +3 -3 lines
Diff to previous 1.279 (unified)

cleanup vnode use in xfs_lookup

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30550a by kenmcd.

  cleanup vnode use in xfs_lookup

Revision 1.279 / (download) - annotate - [select for diffs], Tue Feb 26 03:22:04 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.278: +21 -20 lines
Diff to previous 1.278 (unified)

cleanup vnode use in xfs_symlink and xfs_rename

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30548a by kenmcd.

  cleanup vnode use in xfs_symlink and xfs_rename

Revision 1.278 / (download) - annotate - [select for diffs], Tue Feb 26 03:21:12 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.277: +11 -12 lines
Diff to previous 1.277 (unified)

cleanup vnode use in xfs_link

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30547a by kenmcd.

  cleanup vnode use in xfs_link

Revision 1.277 / (download) - annotate - [select for diffs], Tue Feb 26 03:20:19 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.276: +11 -10 lines
Diff to previous 1.276 (unified)

cleanup vnode use in xfs_create/mknod/mkdir

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30546a by kenmcd.

  cleanup vnode use in xfs_create/mknod/mkdir

Revision 1.276 / (download) - annotate - [select for diffs], Fri Feb 22 03:06:42 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.275: +31 -38 lines
Diff to previous 1.275 (unified)

cleanup xfs_vn_mknod

 - use proper goto based unwinding instead of the current mess of
   multiple conditionals
 - rename ip to inode because that's the normal convention for Linux
   inodes while ip is the convention for xfs_inodes
 - remove unlikely checks for the default_acl - branches marked unlikely
   might lead to extreme branch bredictor slowdons if taken and for some
   workloads a default acl is quite common
 - properly indent the switch statements
 - remove xfs_has_fs_struct as nfsd has a fs_struct in any semi-recent
   kernel


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30529a by kenmcd.

  cleanup xfs_vn_mknod

Revision 1.275 / (download) - annotate - [select for diffs], Mon Jan 21 15:00:49 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.274: +0 -1 lines
Diff to previous 1.274 (unified)

keep i_nlink updated and use proper accessors

To get the read-only bind mounts in -mm to work correctly with XFS we
need to call the drop_nlink and inc_nlink helpers to monitor the link
count.  Add calls to these to xfs_bumplink and xfs_droplink and stop
copying over di_nlink to i_nlink in xfs_validate_fields and vn_revalidate.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30392a by kenmcd.

  keep i_nlink updated and use proper accessors

Revision 1.274 / (download) - annotate - [select for diffs], Mon Jan 21 14:59:58 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.273: +0 -3 lines
Diff to previous 1.273 (unified)

stop updating inode->i_blocks

The VFS doesn't use i_blocks, it's only used by generic_fillattr and
the generic quota code which XFS doesn't use.  In XFS there is one use
to check whether we have an inline or out of line sumlink, but we can
replace that with a check of the XFS_IFINLINE inode flag.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30391a by kenmcd.

  stop updating inode->i_blocks

Revision 1.273 / (download) - annotate - [select for diffs], Fri Jan 18 15:05:14 2008 UTC (9 years, 9 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.272: +23 -4 lines
Diff to previous 1.272 (unified)

[PATCH 4/4] use generic_permission

Now that all direct caller of xfs_iaccess are gone we can kill
xfs_iaccess and xfs_access and just use generic_permission with a
check_acl callback.  This is required for the per-mount read-only
patchset in -mm to work properly with XFS.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30370a by kenmcd.

  use generic_permission

Revision 1.272 / (download) - annotate - [select for diffs], Wed Dec 19 05:11:13 2007 UTC (9 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.271: +1 -3 lines
Diff to previous 1.271 (unified)

Fix mknod regression

This was broken by my '[XFS] simplify xfs_create/mknod/symlink prototype',
which assigned the re-shuffled ondisk dev_t back to the rdev variable in
xfs_vn_mknod.  Because of that i_rdev is set to the ondisk dev_t instead
of the linux dev_t later down the function.

Fortunately the fix for it is trivial:  we can just remove the
assignment because xfs_revalidate_inode has done the proper job before
unlocking the inode.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30273a by kenmcd.

  fix xfs_vn_mknod regression due to writing the wrong format dev_t to
  i_rdev.

Revision 1.271 / (download) - annotate - [select for diffs], Thu Dec 6 15:10:07 2007 UTC (9 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.270: +2 -2 lines
Diff to previous 1.270 (unified)

Fix xfs_ichgtime()s broken usage of I_SYNC

The recent I_LOCK->I_SYNC changes mistakenly changed xfs_ichgtime to
look at I_SYNC instead of I_LOCK. This was incorrect and prevents newly
created inodes from moving to the dirty list. Change this to the correct
check which is for I_NEW, not I_LOCK or I_SYNC so that behaviour is
correct.
Merge of xfs-linux-melb:xfs-kern:30204a by kenmcd.

  Use I_NEW in xfs_ichgtime instead of I_SYNC so that new inodes are
  moved to the dirty list correctly.

Revision 1.270 / (download) - annotate - [select for diffs], Mon Dec 3 15:26:10 2007 UTC (9 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.269: +2 -2 lines
Diff to previous 1.269 (unified)

Merge up to 2.6.24-rc3
Merge of xfs-linux-melb:xfs-kern:30183a by kenmcd.

Revision 1.269 / (download) - annotate - [select for diffs], Mon Nov 5 15:04:07 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.268: +1 -1 lines
Diff to previous 1.268 (unified)

optimize XFS_IS_REALTIME_INODE w/o realtime config

Use XFS_IS_REALTIME_INODE in more places, and #define it to
0 if CONFIG_XFS_RT is off.  This should be safe because mount
checks in xfs_rtmount_init:

# define xfs_rtmount_init(m)    (((mp)->m_sb.sb_rblocks == 0)? 0 : (ENOSYS))

so if we get mounted w/o CONFIG_XFS_RT, no realtime inodes should
be encountered after that.

Defining XFS_IS_REALTIME_INODE to 0 saves a bit of stack space,
presumeably gcc can optimize around the various "if (0)" type
checks:

xfs_alloc_file_space    -8
xfs_bmap_adjacent       -16
xfs_bmapi               -8
xfs_bmap_rtalloc        -16
xfs_bunmapi             -28
xfs_free_file_space     -64
xfs_imap                +8  <-- ?  hmm.
xfs_iomap_write_direct  -12
xfs_qm_dqusage_adjust   -4
xfs_qm_vop_chown_reserve -4

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:30014a by kenmcd.

  Use XFS_IS_REALTIME_INODE() rather than open coding the check.

Revision 1.268 / (download) - annotate - [select for diffs], Fri Nov 2 05:12:56 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.267: +43 -0 lines
Diff to previous 1.267 (unified)

Implement fallocate.

Implement the new generic callout for file preallocation.
Atomically change the file size if requested.
Merge of xfs-linux-melb:xfs-kern:30009a by kenmcd.

  implement ->fallocate()

Revision 1.267 / (download) - annotate - [select for diffs], Fri Nov 2 05:12:07 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.266: +16 -0 lines
Diff to previous 1.266 (unified)

Fix inode allocation latency

The log force added in xfs_iget_core() has been a performance
issue since it was introduced for tight loops that allocate
then unlink a single file. under heavy writeback, this can
introduce unnecessary latency due tothe log I/o getting
stuck behind bulk data writes.

Fix this latency problem by avoinding the need for the log
force by moving the place we mark linux inode dirty to the
transaction commit rather than on transaction completion.

This also closes a potential hole in the sync code where a
linux inode is not dirty between the time it is modified and
the time the log buffer has been written to disk.
Merge of xfs-linux-melb:xfs-kern:30007a by kenmcd.

  Remove the need to mark the linux inode dirty in xfs_iunpin by marking
  it dirty during transaction commit.

Revision 1.266 / (download) - annotate - [select for diffs], Thu Sep 27 06:15:00 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.265: +8 -15 lines
Diff to previous 1.265 (unified)

simplify xfs_create/mknod/symlink prototype

Simplify the prototype for xfs_create/xfs_mkdir/xfs_symlink by not
passing down a bhv_vattr_t that just hogs stack space.  Instead pass
down the mode in a mode_t and in case of xfs_crate the rdev as a scalar
type aswell.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29794a by kenmcd.

  simplify xfs_create/mknod/symlink prototype

Revision 1.265 / (download) - annotate - [select for diffs], Tue Sep 25 06:12:37 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.264: +52 -24 lines
Diff to previous 1.264 (unified)

simplify xfs_vn_getattr

Just fill in struct kstat directly from the xfs_inode instead of doing
a detour through a bhv_vattr_t and xfs_getattr.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29770a by kenmcd.

  simplify xfs_vn_getattr

Revision 1.264 / (download) - annotate - [select for diffs], Wed Sep 19 04:00:15 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.263: +1 -1 lines
Diff to previous 1.263 (unified)

simplify vn_revalidate

No need to allocate a bhv_vattr_t on stack and call xfs_getattr to
update a few fields in the Linux inode from the XFS inode, just
do it directly.

And yes, this function is in dire need of a better name and prototype,
I'll do in a separate patch, though.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29713a by kenmcd.

  simplify vn_revalidate

Revision 1.263 / (download) - annotate - [select for diffs], Tue Sep 18 15:51:29 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.262: +24 -27 lines
Diff to previous 1.262 (unified)

simplify validata_fields

Stop using xfs_getattr and a onstack bhv_vattr_t just to get three
fields from the underlying inode and opencode copying from the inode
fields instead.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29711a by kenmcd.

  simplify validata_fields

Revision 1.262 / (download) - annotate - [select for diffs], Fri Aug 24 16:10:21 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.261: +3 -4 lines
Diff to previous 1.261 (unified)

kill struct bhv_vnode

Now that struct bhv_vnode is empty we can just kill it.  Retain bhv_vnode_t
as a typedef for struct inode for the time beeing until all the fallout is
cleaned up.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29500a by kenmcd.

  struct bhv_vnode is empty so just retain it as a typedef to a
  struct inode to minimise cosmetic change.

Revision 1.261 / (download) - annotate - [select for diffs], Fri Aug 24 16:06:08 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.260: +3 -3 lines
Diff to previous 1.260 (unified)

kill the v_flag member in struct bhv_vnode

All flags previous handled at the vnode level are not in the xfs_inode
where we already have a flags mechanisms and free bits for flags
previously in the vnode.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29495a by kenmcd.

  move vnode flags to xfs inode.

Revision 1.260 / (download) - annotate - [select for diffs], Fri Aug 24 16:04:16 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.259: +26 -51 lines
Diff to previous 1.259 (unified)

call common xfs vnode-level helpers directly and remove vnode operations

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29493a by kenmcd.

  remove vnode operations.

Revision 1.259 / (download) - annotate - [select for diffs], Thu Aug 23 15:58:48 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.258: +13 -37 lines
Diff to previous 1.258 (unified)

stop using uio in the readlink code

Simplify the readlink code to get rid of the last user of uio.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29479a by kenmcd.

  stop using uio in the readlink code.

Revision 1.258 / (download) - annotate - [select for diffs], Wed May 23 15:48:20 2007 UTC (10 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.257: +3 -3 lines
Diff to previous 1.257 (unified)

Bring back a few community mainline changes into xfs.
Merge of xfs-linux-melb:xfs-kern:28661a by kenmcd.

  commit c5ef1c42c51b1b5b4a401a6517bdda30933ddbaf
  Add const to inode ops.

Revision 1.257 / (download) - annotate - [select for diffs], Wed Feb 7 02:50:13 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.256: +0 -2 lines
Diff to previous 1.256 (unified)

Remove unused header files for MAC and CAP checking functionality.

xfs_mac.h and xfs_cap.h provide definitions and macros that aren't
used anywhere in XFS at all. They are left-overs from "to be implement
at some point in the future" functionality that Irix XFS has. If this
functionality ever goes into Linux, it will be provided at a different
layer, most likely through the security hooks in the kernel so we will
never need this functionality in XFS.

Patch provided by Eric Sandeen (sandeen@sandeen.net).
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:28036a by kenmcd.

  Remove unused xfs_cap.h/xfs_mac.h header files.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.256 / (download) - annotate - [select for diffs], Thu Nov 30 14:40:05 2006 UTC (10 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.255: +2 -2 lines
Diff to previous 1.255 (unified)

Keep stack usage down for 4k stacks by using noinline.

gcc-4.1 and more recent aggressively inline static functions which
increases XFS stack usage by ~15% in critical paths. Prevent
this from occurring by adding noinline to the STATIC definition.

Also uninline some functions that are too large to be inlined and
were causing problems with CONFIG_FORCED_INLINING=y.

Finally, clean up all the different users of inline, __inline and
__inline__ and put them under one STATIC_INLINE macro. For debug
kernels the STATIC_INLINE macro uninlines those functions.
Merge of xfs-linux-melb:xfs-kern:27585a by kenmcd.

  noinline static function declaration cleanup.

Revision 1.255 / (download) - annotate - [select for diffs], Fri Oct 13 16:13:54 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.254: +2 -2 lines
Diff to previous 1.254 (unified)

Merge up to 2.6.18
Merge of xfs-linux-melb:xfs-kern:27192a by kenmcd.

Revision 1.254 / (download) - annotate - [select for diffs], Fri Aug 4 13:24:23 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.253: +20 -5 lines
Diff to previous 1.253 (unified)

Update XFS for i_blksize removal from generic inode structure
Merge of xfs-linux-melb:xfs-kern:26565a by kenmcd.

Revision 1.253 / (download) - annotate - [select for diffs], Mon Jun 26 06:05:23 2006 UTC (11 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.252: +4 -2 lines
Diff to previous 1.252 (unified)

Remove a race condition where a linked inode could BUG_ON in d_instantiate, due to fast transaction committal removing the last remaining reference before we were all done.
Merge of xfs-linux-melb:xfs-kern:26347a by kenmcd.

Revision 1.252 / (download) - annotate - [select for diffs], Mon Jun 26 03:48:38 2006 UTC (11 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.251: +0 -3 lines
Diff to previous 1.251 (unified)

Remove redundant directory checks from inode link operation.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Merge of xfs-linux-melb:xfs-kern:26343a by kenmcd.

  Remove redundant directory checks from inode link operation.

Revision 1.251 / (download) - annotate - [select for diffs], Thu Jun 15 03:58:11 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.250: +0 -2 lines
Diff to previous 1.250 (unified)

Remove version 1 directory code.  Never functioned on Linux, just pure bloat.
Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.

Revision 1.250 / (download) - annotate - [select for diffs], Tue May 30 15:57:54 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.249: +8 -8 lines
Diff to previous 1.249 (unified)

Resolve a namespace collision on remaining vtypes for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26108a by kenmcd.

Revision 1.249 / (download) - annotate - [select for diffs], Tue May 30 15:56:57 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.248: +44 -55 lines
Diff to previous 1.248 (unified)

Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26107a by kenmcd.

Revision 1.248 / (download) - annotate - [select for diffs], Tue May 30 15:47:56 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.247: +1 -1 lines
Diff to previous 1.247 (unified)

getattr can return an error code, so propogate any from lower layers.
Merge of xfs-linux-melb:xfs-kern:26095a by kenmcd.

Revision 1.247 / (download) - annotate - [select for diffs], Mon May 29 06:15:09 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.246: +1 -1 lines
Diff to previous 1.246 (unified)

get_block is replaced by get_blocks in 2.6.17, merge back my mainline update.
Merge of xfs-linux-melb:xfs-kern:26070a by kenmcd.

Revision 1.246 / (download) - annotate - [select for diffs], Tue Apr 11 03:47:12 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.245: +1 -2 lines
Diff to previous 1.245 (unified)

Fix utime(2) in the case that no times parameter was passed in.

#Signed-off-by: Jes Sorensen <jes@sgi.com>
Merge of xfs-linux-melb:xfs-kern:25717a by kenmcd.

  Fix utime(2) in the case that no times parameter was passed in.

Revision 1.245 / (download) - annotate - [select for diffs], Fri Mar 17 14:31:57 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.244: +2 -0 lines
Diff to previous 1.244 (unified)

Merge Yingpings fix for a vn_count assert failure during QA - another ENOSPC condition.
Merge of xfs-linux-melb:xfs-kern:25482a by kenmcd.

Revision 1.244 / (download) - annotate - [select for diffs], Fri Mar 17 14:28:04 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.243: +24 -24 lines
Diff to previous 1.243 (unified)

Complete transition away from linvfs naming convention, finally.
Merge of xfs-linux-melb:xfs-kern:25474a by kenmcd.

Revision 1.243 / (download) - annotate - [select for diffs], Fri Mar 10 14:23:13 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.242: +28 -61 lines
Diff to previous 1.242 (unified)

Revert kiocb and vattr stack changes, theory is the AIO rework will help here and vattr may be small enough.
Merge of xfs-linux-melb:xfs-kern:25423a by kenmcd.

Revision 1.242 / (download) - annotate - [select for diffs], Mon Mar 6 14:20:54 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.241: +80 -80 lines
Diff to previous 1.241 (unified)

Switch over from linvfs names for inode operations for consistent naming.
Merge of xfs-linux-melb:xfs-kern:25381a by kenmcd.

Revision 1.241 / (download) - annotate - [select for diffs], Mon Mar 6 14:19:18 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.240: +1 -1 lines
Diff to previous 1.240 (unified)

Switch over from linvfs names for address space ops for consistent naming.
Merge of xfs-linux-melb:xfs-kern:25378a by kenmcd.

Revision 1.240 / (download) - annotate - [select for diffs], Mon Mar 6 02:45:14 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.239: +106 -76 lines
Diff to previous 1.239 (unified)

Dynamically allocate vattr in places it makes sense to do so, to reduce stack use.  Also re-use vattr in some places so that multiple copies are not held on-stack.
Merge of xfs-linux-melb:xfs-kern:25369a by kenmcd.

Revision 1.239 / (download) - annotate - [select for diffs], Tue Feb 7 14:37:50 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.238: +2 -0 lines
Diff to previous 1.238 (unified)

Fix missing inode atime update from the utime syscall.
Merge of xfs-linux-melb:xfs-kern:25136a by kenmcd.

Revision 1.238 / (download) - annotate - [select for diffs], Wed Jan 25 00:34:27 2006 UTC (11 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.237: +2 -1 lines
Diff to previous 1.237 (unified)

Bring the XFS code in sync with the changed from 2.6.16-rc1

Revision 1.237 / (download) - annotate - [select for diffs], Tue Jan 24 20:38:10 2006 UTC (11 years, 8 months ago) by yingping
Branch: MAIN
Changes since 1.236: +32 -18 lines
Diff to previous 1.236 (unified)

Interim solution for attribute insertion failure during file creation due to ENOSPC. The current solution removes the inode when the attribute insertion fails. Long term solution would be to make the inode creation and attribute insertion atomic.
Add a cleanup code to handle the failure in attribute insertion due to ENOSPC.

Revision 1.236 / (download) - annotate - [select for diffs], Mon Jan 16 04:57:00 2006 UTC (11 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.235: +8 -5 lines
Diff to previous 1.235 (unified)

Fix symlink creation too, with respect to initialising SELinux context.
Merge of xfs-linux-melb:xfs-kern:24983a by kenmcd.

Revision 1.235 / (download) - annotate - [select for diffs], Thu Jan 12 02:44:36 2006 UTC (11 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.234: +4 -4 lines
Diff to previous 1.234 (unified)

Fix follow_link when dealing with symlinks larger than 256 bytes.  Thanks to Yamamoto Takashi.
Merge of xfs-linux-melb:xfs-kern:24962a by kenmcd.

Revision 1.234 / (download) - annotate - [select for diffs], Mon Dec 19 19:00:32 2005 UTC (11 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.233: +16 -0 lines
Diff to previous 1.233 (unified)

add helper to get xfs_inode from vnode

Revision 1.233 / (download) - annotate - [select for diffs], Thu Dec 15 16:07:54 2005 UTC (11 years, 10 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.232: +0 -2 lines
Diff to previous 1.232 (unified)

take out the call to vn_mark_bad() used when acl inherit fails and
it needs to back out the inode creation. Tested by xfs_tests/077.
Merge of xfs-linux-melb:xfs-kern:24842a by kenmcd.

  take out the call to vn_mark_bad() used when acl inherit fails and
  it needs to back out the inode creation. Tested by xfs_tests/077.

Revision 1.232 / (download) - annotate - [select for diffs], Fri Dec 9 05:04:28 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.231: +37 -0 lines
Diff to previous 1.231 (unified)

Add an XFS callout to security_inode_init_security; SE Linux is not functional with XFS without this change.
Merge of xfs-linux-melb:xfs-kern:24766a by kenmcd.

Revision 1.231 / (download) - annotate - [select for diffs], Wed Dec 7 19:02:48 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.230: +24 -34 lines
Diff to previous 1.230 (unified)

fix, speedup and simplify atime handling

let the VFS handle atime updates and only sync back to the xfs inode when
nessecary

Revision 1.230 / (download) - annotate - [select for diffs], Wed Nov 9 07:11:31 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.229: +0 -0 lines
Diff to previous 1.229 (unified)

handle error returns from freeze_bdev
handle error returns from freeze_bdev

Revision 1.229 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.228: +12 -26 lines
Diff to previous 1.228 (unified)

Update license/copyright notices to match the prefered SGI boilerplate.
Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.

Revision 1.228 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.227: +6 -7 lines
Diff to previous 1.227 (unified)

Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.

Revision 1.227 / (download) - annotate - [select for diffs], Tue Sep 20 15:26:16 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.226: +131 -0 lines
Diff to previous 1.226 (unified)

Improve buffered read throughput by removing unnecessary timer calls that showed in ´kernel profiles.
Merge of xfs-linux-melb:xfs-kern:23861a by kenmcd.

Revision 1.226 / (download) - annotate - [select for diffs], Mon Aug 29 06:01:11 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.225: +11 -6 lines
Diff to previous 1.225 (unified)

Backport follow/put_link VFS API change from 2.6.13.
Merge of xfs-linux-melb:xfs-kern:23662a by kenmcd.

Revision 1.225 / (download) - annotate - [select for diffs], Thu Jul 14 17:07:55 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.224: +2 -4 lines
Diff to previous 1.224 (unified)

remove struct vnode::v_type

Revision 1.224 / (download) - annotate - [select for diffs], Thu Jan 6 12:27:20 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.223: +1 -28 lines
Diff to previous 1.223 (unified)

Use generic_readlink
remove linvfs_readlink, we can use the generic version

Revision 1.223 / (download) - annotate - [select for diffs], Fri Oct 1 05:55:52 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.222: +20 -11 lines
Diff to previous 1.222 (unified)

Merge back Al Viros link handlink fixes and put_link inode op.
Merge of xfs-linux-melb:xfs-kern:19637a by kenmcd.

Revision 1.222 / (download) - annotate - [select for diffs], Wed Sep 22 21:55:51 2004 UTC (13 years ago) by hch
Branch: MAIN
Changes since 1.221: +3 -2 lines
Diff to previous 1.221 (unified)

fix handling of bad inodes
use vn_mark_bad instead of remove_inode_hash and make_bad_inode

Revision 1.221 / (download) - annotate - [select for diffs], Wed Sep 22 20:53:01 2004 UTC (13 years ago) by hch
Branch: MAIN
Changes since 1.220: +8 -13 lines
Diff to previous 1.220 (unified)

handle nfs requesting ino 0 gracefully
streamline linvfs_lookup

Revision 1.220 / (download) - annotate - [select for diffs], Wed Sep 22 07:13:53 2004 UTC (13 years ago) by nathans
Branch: MAIN
Changes since 1.219: +1 -1 lines
Diff to previous 1.219 (unified)

Add nosymlinks inode flag for the security folks, reserve projinherit flag.

Revision 1.219 / (download) - annotate - [select for diffs], Fri Aug 13 05:31:26 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.218: +1 -1 lines
Diff to previous 1.218 (unified)

Use sparse whitespace approach that Al took to be more consistent.  Couple more sparse fixes.

Revision 1.218 / (download) - annotate - [select for diffs], Mon Jun 28 10:11:58 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.217: +1 -1 lines
Diff to previous 1.217 (unified)

sparse: annotate vfs interfaces for user pointers.  From Chris Wedgwood.

Revision 1.217 / (download) - annotate - [select for diffs], Thu Apr 29 05:09:31 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.216: +4 -10 lines
Diff to previous 1.216 (unified)

Remove extraneous vmtruncate call, missed in earlier merge.

Revision 1.216 / (download) - annotate - [select for diffs], Thu Mar 25 02:38:34 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.215: +4 -0 lines
Diff to previous 1.215 (unified)

Reenable non-block flag for DMAPI.

Revision 1.215 / (download) - annotate - [select for diffs], Thu Feb 19 01:55:09 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.214: +1 -2 lines
Diff to previous 1.214 (unified)

Fix the by-handle attr list interface (used by xfsdump) for security attrs.

Revision 1.214 / (download) - annotate - [select for diffs], Wed Feb 11 23:15:26 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.213: +0 -1 lines
Diff to previous 1.213 (unified)

Remove a superflous i_size_write
vmtruncate() does the i_size_write for use

Revision 1.213 / (download) - annotate - [select for diffs], Tue Feb 10 11:38:38 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.212: +9 -3 lines
Diff to previous 1.212 (unified)

make sure i_size_write is called under i_sem
Update i_size in verify_fields and linvfs_setattr

Revision 1.212 / (download) - annotate - [select for diffs], Fri Dec 12 04:17:52 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.211: +42 -205 lines
Diff to previous 1.211 (unified)

Rework some extended attributes code to make it more easily extended.
Merge of xfs-linux:slinx:163383a by nathans.

Revision 1.211 / (download) - annotate - [select for diffs], Wed Oct 8 17:06:23 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.210: +2 -4 lines
Diff to previous 1.210 (unified)

cleanup uio use some more
Merge of xfs-linux:slinx:159633a by lord.

Revision 1.210 / (download) - annotate - [select for diffs], Mon Oct 6 20:20:41 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.209: +6 -2 lines
Diff to previous 1.209 (unified)

merge up to 2.6.0-test6

Revision 1.209 / (download) - annotate - [select for diffs], Fri Oct 3 15:10:26 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.208: +1 -0 lines
Diff to previous 1.208 (unified)

Code cleanup
Merge of xfs-linux:slinx:159439a by lord.

  Merge of 2.4.x-xfs-kern:slinx:159439a by lord.
  initialize uio.uio_fmode in readlink case

Revision 1.208 / (download) - annotate - [select for diffs], Mon Sep 15 05:50:52 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.207: +6 -0 lines
Diff to previous 1.207 (unified)

Undoes mod:     xfs-linux:slinx:158358a
Implement several additional inode flags - immutable, append-only, etc; contributed by Ethan Benson.
Merge of xfs-linux:slinx:158362a by nathans.

Revision 1.207 / (download) - annotate - [select for diffs], Wed Sep 10 20:14:45 2003 UTC (14 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.206: +4 -1 lines
Diff to previous 1.206 (unified)

Merge up to 2.6.0-test5

Revision 1.206 / (download) - annotate - [select for diffs], Tue Aug 12 06:54:57 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.205: +38 -22 lines
Diff to previous 1.205 (unified)

Fix up the default ACL inherit case, in the presence of failure during applying the default ACL (eg. from ENOSPC).
Merge of xfs-linux:slinx:155553a by nathans.

Revision 1.205 / (download) - annotate - [select for diffs], Tue Jul 29 16:43:42 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.204: +4 -0 lines
Diff to previous 1.204 (unified)

Make the permission operation in xfs conditional on ACLs being compiled in
Only setup a permission call if we have acl's turned on

Revision 1.204 / (download) - annotate - [select for diffs], Tue Jul 15 16:35:10 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.203: +2 -33 lines
Diff to previous 1.203 (unified)

remove extra locking which was folded into the xfs extended
attribute calls - we do not need this.
revert extended attribute calls to the non-locking versions,
xfs has its own locking underneath this.

Revision 1.203 / (download) - annotate - [select for diffs], Fri Jul 11 22:03:09 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.202: +38 -5 lines
Diff to previous 1.202 (unified)

merge up to 2.5.75

Revision 1.202 / (download) - annotate - [select for diffs], Wed Jun 4 18:39:36 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.201: +3 -1 lines
Diff to previous 1.201 (unified)

Update linux directory inode contents after the initial mkdir,
right now size shows up as zero which is wrong.
Merge of 2.4.x-xfs:slinx:150334a by lord.

  update linux inode fields in a directory after it is created.

Revision 1.201 / (download) - annotate - [select for diffs], Mon May 19 19:09:23 2003 UTC (14 years, 5 months ago) by felixb
Branch: MAIN
Changes since 1.200: +3 -1 lines
Diff to previous 1.200 (unified)

Modified to always pass NULL as data parameter to VOP_ATTR_GET(),
whenever ATTR_KERNOVAL flag is used.
Merge of 2.4.x-xfs:slinx:147567a by lord.

  Merge of 2.4.x-xfs-kern:slinx:147567a by lord.
  Modified to always pass NULL as data parameter to VOP_ATTR_GET(),
  whenever ATTR_KERNOVAL flag is used.

Revision 1.200 / (download) - annotate - [select for diffs], Mon May 5 21:36:47 2003 UTC (14 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.199: +0 -11 lines
Diff to previous 1.199 (unified)

merge Steve's sync changes over to 2.5
Merge of 2.4.x-xfs:slinx:147673a originally by lord on 05/01/03
  Rework of how xfs syncs metadata to disk. This has a number of
  benefits: We no longer walk the list of all the inodes in the
  filesystem everytime the write_super is called. If you type
  sync and then reset the box then everything is definitely
  recovered afterwards. We remove a lot of calls to
  mark_inode_dirty which did not really do us any good, and
  replace them with a single one which does. kupdated does
  less work in xfs now, freeing it to do other things.
  Finally, get the dummy log record code working, this
  means that after a period of inactivity with everything
  on disk, we clean the log so that recovery does not 
  have any work to do.
  remove all mark_inode_dirty_sync calls, they were all on inodes
  which were being logged, the inode is only flushable after the
  log hits the disk.

Revision 1.199 / (download) - annotate - [select for diffs], Thu May 1 17:24:11 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
Changes since 1.198: +36 -1 lines
Diff to previous 1.198 (unified)

Merge the header file stuff over
Merge of 2.4.x-xfs:slinx:147627a originally by cattelan on 05/01/03
  Rework the way xfs includes xfs_<blah>.h headers.
  This reduces a lot of the compile dependenciesÂ, 
  and should reduce some of the "recompile all" situations.

Revision 1.198 / (download) - annotate - [select for diffs], Wed Apr 16 20:09:14 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.197: +2 -2 lines
Diff to previous 1.197 (unified)

Whitespace cleanup
Merge whitespace cleanup to 2.5 tree
Merge of 2.4.x-xfs:slinx:144573a by cattelan.

  Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)

Revision 1.197 / (download) - annotate - [select for diffs], Mon Mar 17 01:49:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.196: +47 -77 lines
Diff to previous 1.196 (unified)

Remove unneeded initialisations to zero, formatting cleanups, remove
a no-longer-correct-comment, fix up symlink error path code, several
minor changes to help keep this code more in sync with 2.4.
Merge of 2.4.x-xfs:slinx:141838a by nathans.

Revision 1.196 / (download) - annotate - [select for diffs], Wed Feb 26 17:19:02 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.195: +1 -1 lines
Diff to previous 1.195 (unified)

validate_fields is called on a vnode to update directory related
fields after a create/remove etc. Make sure we pass in all the
flags for the status fields we want. NBLOCKS was missing and
working by accident.
Merge of 2.4.x-xfs:slinx:134817a by lord.

  Merge of 2.4.x-xfs-dev:slinx:134817a by lord.
  pass XFS_AT_NBLOCKS into the getattr call

Revision 1.195 / (download) - annotate - [select for diffs], Wed Feb 26 17:02:33 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.194: +2 -0 lines
Diff to previous 1.194 (unified)

initialize the iovec length in symlink cases
Merge of 2.4.x-xfs:slinx:134770a by lord.

  Merge of 2.4.x-xfs-dev:slinx:134770a by lord.
  initialize the iovec length in symlink cases

Revision 1.194 / (download) - annotate - [select for diffs], Tue Feb 25 15:49:06 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.193: +3 -6 lines
Diff to previous 1.193 (unified)

Remove flags argument from xattr inode operations again

Revision 1.193 / (download) - annotate - [select for diffs], Tue Feb 25 09:01:52 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.192: +7 -7 lines
Diff to previous 1.192 (unified)

Transition from xfsroot attribute namespace to the more generic trusted
namespace which other filesystems are also supporting.
Merge of 2.4.x-xfs:slinx:140237a by nathans.

  Transition from xfsroot attribute namespace to the more generic trusted
  namespace which other filesystems are also supporting.  Make the error
  return codes for an unrecognised attribute consistent with those that
  other filesystems are using (patch from Andreas).

Revision 1.192 / (download) - annotate - [select for diffs], Wed Feb 19 15:07:52 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.191: +6 -3 lines
Diff to previous 1.191 (unified)

Merge up to Linux 2.5.62

Revision 1.191 / (download) - annotate - [select for diffs], Mon Jan 13 19:52:52 2003 UTC (14 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.190: +1 -1 lines
Diff to previous 1.190 (unified)

Merge up to 2.5.54

Revision 1.190 / (download) - annotate - [select for diffs], Wed Dec 18 04:29:38 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.189: +8 -6 lines
Diff to previous 1.189 (unified)

Fix some setxattr compiler warnings (const).

Revision 1.189 / (download) - annotate - [select for diffs], Tue Dec 17 16:06:38 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.188: +4 -7 lines
Diff to previous 1.188 (unified)

merge up to 2.5.52

Revision 1.188 / (download) - annotate - [select for diffs], Wed Nov 13 23:44:16 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.187: +0 -0 lines
Diff to previous 1.187 (unified)

Undoes mod:     2.4.x-xfs:slinx:132930a
Rethink some of those recent types changes slightly.
Merge of 2.4.x-xfs:slinx:132993a by nathans.

Revision 1.187 / (download) - annotate - [select for diffs], Wed Nov 13 02:43:25 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.186: +11 -11 lines
Diff to previous 1.186 (unified)

Change AT_* to XFS_AT_* to prevent namespace collisions; move some type
declarations into more appropriate places.
Merge of 2.4.x-xfs:slinx:132930a by nathans.

  Change AT_* to XFS_AT_* to prevent namespace collisions.

Revision 1.186 / (download) - annotate - [select for diffs], Wed Nov 6 21:21:33 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.185: +2 -2 lines
Diff to previous 1.185 (unified)

Fix compilation with ACLs enabled
Remove a bogus ifdef

Revision 1.185 / (download) - annotate - [select for diffs], Tue Nov 5 15:04:39 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.184: +1 -8 lines
Diff to previous 1.184 (unified)

Add XFS_POSIX_ACL to control ACL compilation in xfs

switch to CONFIG_XFS_POSIX_ACL

Revision 1.184 / (download) - annotate - [select for diffs], Wed Oct 9 03:17:00 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.183: +2 -2 lines
Diff to previous 1.183 (unified)

Global search and replace of the b* memory routines to their mem* equivalents.
(bcopy->memcopy, ovbcopy->memmove, bzero->memset, bcmp->memcmp).
Merge of 2.4.x-xfs:slinx:129466a by nathans.

Revision 1.183 / (download) - annotate - [select for diffs], Tue Oct 8 15:35:33 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.182: +1 -0 lines
Diff to previous 1.182 (unified)

ensure inode size is correct after making a symlink.
Merge of 2.4.x-xfs:slinx:129340a by lord.

  update the linux inode size with the xfs inode size after
  symlink creation.

Revision 1.182 / (download) - annotate - [select for diffs], Tue Oct 8 00:44:29 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.181: +4 -5 lines
Diff to previous 1.181 (unified)

Symlinks are created by default with mode 777 now, old behavior is still
accessible through sysctl through.  irixsgid mount option deprecated and
it too is still accessible through sysctl.
Merge of 2.4.x-xfs:slinx:129282a by nathans.

  By default we now create symlinks with mode 777, which is the Linux way.
  The previous behavior can still be reached through sysctl, however.

Revision 1.181 / (download) - annotate - [select for diffs], Wed Oct 2 20:17:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.180: +6 -44 lines
Diff to previous 1.180 (unified)

This is a two fold change, first it moves the translation
between linux dev_t and kdev_t up the call stack in xfs
and makes the bulk of xfs work in terms of its on disk
dev_t format. It also cleans up a few related chunks of
code.

The other part of the change reworks how we keep the linux
inode contents and the xfs inode fields in sync. A number
of places where we resynced the two have been removed, these
were basically replicating work elsewhere in the filesystem.
We now also ensure that the inode fields are filled in
before calling unlock_new_inode - there used to be a window.
Finally all the code which hooks together the linux inode
and the xfs inode is brought together as a more coherent
whole rather than being scattered around the inode create
path. Most calls to revalidate the linux inode from the
xfs inode are removed.
Merge of 2.4.x-xfs:slinx:128899a by lord.

  remove linvfs_revalidate_core and calls to it, pass va_rdev around in
  xfs format rather than kernel format.

Revision 1.180 / (download) - annotate - [select for diffs], Wed Sep 11 19:12:31 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.179: +1 -1 lines
Diff to previous 1.179 (unified)

Merge of 2.4.x-xfs:slinx:127120a originally by sandeen on 09/11/02

Revision 1.179 / (download) - annotate - [select for diffs], Tue Sep 10 21:07:19 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.178: +1 -1 lines
Diff to previous 1.178 (unified)

change symlink perms to 777
Merge of 2.4.x-xfs:slinx:127049a by lord.

Revision 1.178 / (download) - annotate - [select for diffs], Thu Sep 5 06:24:11 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.177: +260 -396 lines
Diff to previous 1.177 (unified)

Merge of 2.4.x-xfs:slinx:126748a by nathans.

  move the xattr inode operations into here, move the address_space operations
  into xfs_aops.c.  no functional change, but one less file & more statics.

Revision 1.177 / (download) - annotate - [select for diffs], Thu Aug 22 21:36:57 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.176: +6 -4 lines
Diff to previous 1.176 (unified)

Merge of 2.4.x-xfs:slinx:125605a by lord.

  set BH_New in less cases

Revision 1.176 / (download) - annotate - [select for diffs], Thu Aug 15 13:56:51 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.175: +1 -5 lines
Diff to previous 1.175 (unified)

avoid touching the xfs inode in the bmap call
Merge of 2.4.x-xfs:slinx:125088a by lord.

Revision 1.175 / (download) - annotate - [select for diffs], Wed Aug 14 21:58:25 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.174: +6 -1 lines
Diff to previous 1.174 (unified)

Merge of 2.4.x-xfs:slinx:124639a by lord.

  set new flag in getblock for all mappings returned beyond the eof

Revision 1.174 / (download) - annotate - [select for diffs], Mon Aug 12 04:25:12 2002 UTC (15 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.173: +2 -2 lines
Diff to previous 1.173 (unified)

Merge of 2.4.x-xfs:slinx:124779a by nathans.

  Fix a now-incorrect comment.

Revision 1.173 / (download) - annotate - [select for diffs], Fri Aug 2 19:57:07 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.172: +24 -13 lines
Diff to previous 1.172 (unified)

merge up to 2.5.30

Revision 1.172 / (download) - annotate - [select for diffs], Fri Aug 2 18:09:10 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.171: +8 -17 lines
Diff to previous 1.171 (unified)

only pass one extent around between pagebuf and xfs
Merge of 2.4.x-xfs:slinx:124045a by lord.

Revision 1.171 / (download) - annotate - [select for diffs], Fri Aug 2 17:52:14 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.170: +1 -1 lines
Diff to previous 1.170 (unified)

remove some dead vop arguments
Merge of 2.4.x-xfs:slinx:123986a by lord.

Revision 1.170 / (download) - annotate - [select for diffs], Tue Jul 23 18:08:31 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.169: +42 -42 lines
Diff to previous 1.169 (unified)

clean up a few more initializers

Revision 1.169 / (download) - annotate - [select for diffs], Mon Jul 22 21:50:44 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.168: +15 -16 lines
Diff to previous 1.168 (unified)

kill LINVFS_GET_VPTR
Merge of 2.4.x-xfs:slinx:123488a by sandeen.

Revision 1.168 / (download) - annotate - [select for diffs], Thu Jul 18 18:27:43 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.167: +14 -0 lines
Diff to previous 1.167 (unified)

merge up to 2.5.26

Revision 1.167 / (download) - annotate - [select for diffs], Mon Jul 15 15:21:58 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.166: +2 -2 lines
Diff to previous 1.166 (unified)

fix snafu in last change
Merge of 2.4.x-xfs:slinx:122873a by lord.

Revision 1.166 / (download) - annotate - [select for diffs], Mon Jul 15 15:19:29 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.165: +27 -59 lines
Diff to previous 1.165 (unified)

code shrink the create/mkdir/mknod path
Merge of 2.4.x-xfs:slinx:122863a by lord.

Revision 1.165 / (download) - annotate - [select for diffs], Mon Jul 15 12:20:08 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.164: +3 -5 lines
Diff to previous 1.164 (unified)

do not pass cwd into rmdir
Merge of 2.4.x-xfs:slinx:122770a by lord.

Revision 1.164 / (download) - annotate - [select for diffs], Mon Jul 15 12:05:41 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.163: +0 -0 lines
Diff to previous 1.163 (unified)

use unlock_page instead of UnlockPage
Merge of 2.4.x-xfs:slinx:122767a by lord.

Revision 1.163 / (download) - annotate - [select for diffs], Mon Jul 15 11:41:22 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.162: +1 -0 lines
Diff to previous 1.162 (unified)

only include iobuf.h where needed
Merge of 2.4.x-xfs:slinx:122766a by lord.

Revision 1.162 / (download) - annotate - [select for diffs], Mon Jul 15 11:24:01 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.161: +0 -0 lines
Diff to previous 1.161 (unified)

Merge of 2.4.x-xfs:slinx:122739a by lord.

  remove some page zeroing from the read path of getblock.

Revision 1.161 / (download) - annotate - [select for diffs], Wed Jul 10 20:44:06 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.160: +39 -39 lines
Diff to previous 1.160 (unified)

whitespace cleanup
Merge of 2.4.x-xfs:slinx:122792a by sandeen.

Revision 1.160 / (download) - annotate - [select for diffs], Tue Jul 9 20:02:50 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.159: +22 -11 lines
Diff to previous 1.159 (unified)

Merge of 2.4.x-xfs:slinx:122679a by lord.

  Add a truncate operation, change setattr to use vmtruncate and
  not call inode_setattr

Revision 1.159 / (download) - annotate - [select for diffs], Tue Jul 9 03:18:37 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.158: +9 -19 lines
Diff to previous 1.158 (unified)

Merge of 2.4.x-xfs:slinx:122661a by lord.

  remove unneeded inode field updates, make more use of mark_inode_dirty

Revision 1.158 / (download) - annotate - [select for diffs], Tue Jul 2 02:32:38 2002 UTC (15 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.157: +17 -13 lines
Diff to previous 1.157 (unified)

Merge of 2.4.x-xfs:slinx:122601a originally by nathans on 07/01/02
  use a naming scheme consistent with the other inode flags.  fix for the
  NFS umask problem as suggested by AndreasG.

Merge of 2.4.x-xfs:slinx:122604a originally by nathans on 07/01/02
  access to S_POSIXACL needs to be conditional so that the split patches can
  be generated with a separate ACL patch.

Revision 1.157 / (download) - annotate - [select for diffs], Mon Jun 24 14:57:10 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.156: +4 -8 lines
Diff to previous 1.156 (unified)

tweak inode handling
Merge of 2.4.x-xfs:slinx:122091a by lord.

Revision 1.156 / (download) - annotate - [select for diffs], Tue Jun 18 15:28:40 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.155: +3 -2 lines
Diff to previous 1.155 (unified)

Merge of 2.4.x-xfs:slinx:121849a by lord.

  Change how we set BH_New

Revision 1.155 / (download) - annotate - [select for diffs], Mon Jun 17 07:05:56 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.154: +6 -2 lines
Diff to previous 1.154 (unified)

Merge of 2.4.x-xfs:slinx:121725a originally by nathans on 06/16/02
  Rework the test for default acls to be CONFIG setting friendly, and still
  keep related pieces together.

Revision 1.154 / (download) - annotate - [select for diffs], Fri Jun 14 05:45:49 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.153: +30 -32 lines
Diff to previous 1.153 (unified)

Merge of 2.4.x-xfs:slinx:121593a originally by nathans on 06/13/02
  Take xfs_acl_t off the stack - allocate it from an xfs_acl zone instead;
  wrap up use of acls in macros such that an alternate implementation could
  be plugged in potentially - for the guys investigating large ACE counts &
  extended permission bits.

Revision 1.153 / (download) - annotate - [select for diffs], Sun Jun 9 12:35:20 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.152: +1 -2 lines
Diff to previous 1.152 (unified)

fix lookup operation for nfs support

Revision 1.152 / (download) - annotate - [select for diffs], Thu Jun 6 15:57:53 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.151: +1 -1 lines
Diff to previous 1.151 (unified)

Merge of 2.4.x-xfs:slinx:121001a by lord.

  Remove pathname from rename VOP - not used

Revision 1.151 / (download) - annotate - [select for diffs], Wed Jun 5 18:10:42 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.150: +9 -11 lines
Diff to previous 1.150 (unified)

Merge of 2.4.x-xfs:slinx:120877a by lord.

  pass the dentries into the vop calls rather than just the string

Revision 1.150 / (download) - annotate - [select for diffs], Tue Jun 4 18:56:57 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.149: +1 -1 lines
Diff to previous 1.149 (unified)

Update copyright dates
Merge of 2.4.x-xfs:slinx:120763a by sandeen.

Revision 1.149 / (download) - annotate - [select for diffs], Tue Jun 4 12:57:50 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.148: +1 -1 lines
Diff to previous 1.148 (unified)

Merge of 2.4.x-xfs:slinx:120735a by lord.

  Use XFS_WRITE_IO_LOG as the size for extending allocations

Revision 1.148 / (download) - annotate - [select for diffs], Mon Jun 3 17:05:58 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.147: +1 -0 lines
Diff to previous 1.147 (unified)

merge up to 2.5.20

Revision 1.147 / (download) - annotate - [select for diffs], Sat Jun 1 12:30:35 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.146: +11 -0 lines
Diff to previous 1.146 (unified)

Add a readpages method to xfs

Revision 1.146 / (download) - annotate - [select for diffs], Fri May 31 22:19:43 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.145: +16 -9 lines
Diff to previous 1.145 (unified)

merge up to 2.5.19

Revision 1.145 / (download) - annotate - [select for diffs], Fri May 31 03:38:18 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.144: +23 -18 lines
Diff to previous 1.144 (unified)

Use a LINVFS_GET_VPTR macro (which in 2.5 is the same as LINVFS_GET_VP,
but is different in 2.4) to allow us to keep a whole bunch of code the
same between the two trees.

Revision 1.144 / (download) - annotate - [select for diffs], Fri May 24 16:18:36 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.143: +0 -12 lines
Diff to previous 1.143 (unified)

fix build warning

Revision 1.143 / (download) - annotate - [select for diffs], Wed May 22 22:28:26 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.142: +1 -1 lines
Diff to previous 1.142 (unified)

Kill some unneeded code - no need for the pathname structure here, all
the underlying code can run without it. We could optimize this more
in the future by passing the length in.

Revision 1.142 / (download) - annotate - [select for diffs], Wed May 22 21:43:34 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.141: +2 -19 lines
Diff to previous 1.141 (unified)

Merge of 2.4.x-xfs:slinx:119954a by lord.

  Kill some unneeded code - no need for the pathname structure here, all
  the underlying code can run without it. We could optimize this more
  in the future by passing the length in.

Revision 1.141 / (download) - annotate - [select for diffs], Wed May 22 15:26:34 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.140: +14 -10 lines
Diff to previous 1.140 (unified)

merge up to 2.5.17

Revision 1.140 / (download) - annotate - [select for diffs], Tue May 21 20:24:04 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.139: +87 -4 lines
Diff to previous 1.139 (unified)

Merge of 2.4.x-xfs:slinx:119746a by lord.

  Make XFS do more of direct I/O itself, we work with the kiobuf mapped
  by the generic direct I/O path, but do not go via the bottom of
  the generic direct code anymore - it cannot cope with a realtime
  subvolume.

Revision 1.139 / (download) - annotate - [select for diffs], Tue May 21 19:57:45 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.138: +179 -127 lines
Diff to previous 1.138 (unified)

Merge of 2.4.x-xfs:slinx:117799a originally by lord on 04/30/02
  Fix writepage for the case of unmapped buffer heads from mmap write, and
  writepage and release page checks in the variable blocksize case.

Merge of 2.4.x-xfs:slinx:119308a originally by lord on 05/16/02
  Move towards using the generic I/O path code more, add a getblock
  function to pass to the generic prepare write and direct I/O code.

Merge of 2.4.x-xfs:slinx:119403a originally by nathans on 05/16/02
  linvfs_get_block_core is STATIC; + play code consistency fairy.

Merge of 2.4.x-xfs:slinx:119446a originally by lord on 05/17/02
  Add getblock case for passing O_SYNC information down to the allocator,
  don't just use 64K as the default preallocation size.

Merge of 2.4.x-xfs:slinx:119562a originally by lord on 05/20/02
  Pay more attention to buffer_uptodate state.

Revision 1.138 / (download) - annotate - [select for diffs], Fri May 3 15:00:23 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.137: +0 -3 lines
Diff to previous 1.137 (unified)

Merge of 2.4.x-xfs:slinx:118073a originally by sandeen on 05/02/02
  Remove call to linvfs_set_inode_ops, done elsewhere now

Revision 1.137 / (download) - annotate - [select for diffs], Tue Apr 30 15:16:48 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.136: +1 -1 lines
Diff to previous 1.136 (unified)

merge up to 2.5.11

Revision 1.136 / (download) - annotate - [select for diffs], Tue Apr 30 14:19:01 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.135: +1 -1 lines
Diff to previous 1.135 (unified)

Merge of 2.4.x-xfs:slinx:117813a by sandeen.

  Error return should use ERR_PTR

Revision 1.135 / (download) - annotate - [select for diffs], Tue Apr 30 10:26:54 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.134: +3 -1 lines
Diff to previous 1.134 (unified)

Merge of 2.4.x-xfs:slinx:117593a originally by sandeen on 04/26/02
  Be sure to return an error if VOP_LOOKUP or linvfs_revalidate_core fails

Merge of 2.4.x-xfs:slinx:117624a originally by sandeen on 04/26/02
  Whoops, that last change doesn't work, ENOENT is a "normal" error that
  apparently should not be passed back up.
  Back it all out for now.

Merge of 2.4.x-xfs:slinx:117732a originally by sandeen on 04/29/02
  Error reporting - return any errors except ENOENT to caller

Revision 1.134 / (download) - annotate - [select for diffs], Tue Apr 23 04:59:16 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.133: +5 -5 lines
Diff to previous 1.133 (unified)

Merge of 2.4.x-xfs:slinx:117024a originally by lord on 04/22/02
  Use XFS_DIFLAG_REALTIME instead of XFS_IOCORE_RT to detect realtime

Revision 1.133 / (download) - annotate - [select for diffs], Fri Apr 19 08:45:09 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.132: +5 -5 lines
Diff to previous 1.132 (unified)

merge up to 2.5.8

Revision 1.132 / (download) - annotate - [select for diffs], Wed Apr 10 00:50:11 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.131: +1 -1 lines
Diff to previous 1.131 (unified)

Merge of 2.4.x-xfs:slinx:115926a by sandeen.

  s/DelallocPage/PageDelalloc/ to bring this in line with other page macros

Revision 1.131 / (download) - annotate - [select for diffs], Mon Mar 25 04:35:42 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.130: +268 -118 lines
Diff to previous 1.130 (unified)

Merge of 2.4.x-xfs:slinx:114782a by nathans.

  Prepare pagebuf APIs for multiple blocksize support.  In particular,
  the IO path needs to get access to blocksize information which currently
  is only held in the xfs_mount structure -- this change reorganises a few
  things so that the necessary information is available to the code that
  needs it.  We also no longer need pbm_dev field (pb_bmap_t) as this is
  now available from pb_target_t always.

Revision 1.130 / (download) - annotate - [select for diffs], Tue Mar 19 23:45:49 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.129: +5 -1 lines
Diff to previous 1.129 (unified)

Merge of 2.4.x-xfs:slinx:114345a by lord.

  pass flag to xfs_setattr for correct utime permissions checking

Revision 1.129 / (download) - annotate - [select for diffs], Tue Mar 19 23:41:50 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.128: +3 -2 lines
Diff to previous 1.128 (unified)

Merge of 2.4.x-xfs:slinx:114287a by lord.

  Return ENAMETOOLONG if that's the case in linvfs_lookup

Revision 1.128 / (download) - annotate - [select for diffs], Tue Mar 19 23:38:16 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.127: +34 -2 lines
Diff to previous 1.127 (unified)

Merge of 2.4.x-xfs:slinx:114422a by lord.

  Add a releasepage method to xfs.

Revision 1.127 / (download) - annotate - [select for diffs], Tue Feb 26 03:24:19 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.126: +38 -173 lines
Diff to previous 1.126 (unified)

Merge of 2.4.18-xfs:slinx:111144a by nathans.

  Kernel changes to transition us to the new extended attribute and ACL
  interfaces.  Some minor code rearranging (files moved, some deleted,
  some new ones from ext2/ext3 ACL project) too.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Feb 20 03:12:35 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.125: +4 -7 lines
Diff to previous 1.125 (unified)

Merge of 2.4.x-xfs:slinx:111886a originally by lord on 02/15/02
  Remove unneeded inode_change_ok call from setattr, we already do our
  own internal checking.

Revision 1.125 / (download) - annotate - [select for diffs], Thu Feb 14 23:44:22 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.124: +8 -2 lines
Diff to previous 1.124 (unified)

Merge of 2.4.x-xfs:slinx:111857a by lord.

  Deal with a corner case where we do a mix of buffered and direct I/O to
  a file. If asking for extents for a direct write and finding delalloc
  extents there, convert them to real.

Revision 1.124 / (download) - annotate - [select for diffs], Sat Feb 9 21:42:31 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.123: +1 -1 lines
Diff to previous 1.123 (unified)

merge up to 2.5.4-pre5

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jan 31 11:48:25 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.122: +19 -19 lines
Diff to previous 1.122 (unified)

merge LINVFS_GET_VN_ADDRESS and LINVFS_GET_VP

Revision 1.122 / (download) - annotate - [select for diffs], Thu Jan 31 11:16:01 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.121: +8 -0 lines
Diff to previous 1.121 (unified)

Merge of 2.4.x-xfs:slinx:110679a by lord.

  Bounce delalloc writepage calls during transactions

Revision 1.121 / (download) - annotate - [select for diffs], Wed Jan 30 21:03:41 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.120: +1 -2 lines
Diff to previous 1.120 (unified)

Merge of 2.4.x-xfs:slinx:110651a by lord.

  Fix up return values used in xfs writepage

Revision 1.120 / (download) - annotate - [select for diffs], Fri Jan 25 23:31:26 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (unified)

vnode/inode layout and allocation changed

Revision 1.119 / (download) - annotate - [select for diffs], Tue Jan 22 19:16:42 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.118: +5 -5 lines
Diff to previous 1.118 (unified)

Merge of 2.4.x-xfs:slinx:109992b by sandeen.

  Do error checking on inode_setattr() return

Revision 1.118 / (download) - annotate - [select for diffs], Fri Jan 11 03:19:55 2002 UTC (15 years, 9 months ago) by kaos
Branch: MAIN
Changes since 1.117: +7 -0 lines
Diff to previous 1.117 (unified)

Allow core XFS to build without ACL code
Merge of 2.4.x-xfs:slinx:109422a by lord.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Jan 10 04:26:44 2002 UTC (15 years, 9 months ago) by tes
Branch: MAIN
Changes since 1.116: +1 -1 lines
Diff to previous 1.116 (unified)

Merge of 2.4.x-xfs:slinx:109343a by nathans.

  Don't apply the umask if we have a default ACL
  BUT ALSO if we don't have ACLs switched on then
  don't apply umask here.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Dec 11 22:45:18 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.115: +1 -0 lines
Diff to previous 1.115 (unified)

Clean up a pile of invisible I/O problems:

- By having an O-flag, non-privileged users could get invisible I/O--bad,bad.
  So toss out the O-flag and use our existing FINVIS in filp->f_mode.  Seems
  to me we really need a new field in struct file for stuff like this, but
  this will do for now.
- Sometimes linvfs_follow_link would get invisible I/O, because of garbage
  in the kmalloc'd memory.
- xfs_open_by_handle is supposed to set invisible I/O, but it wasn't doing
  that on Linux.  This is this function's purpose in life, so, it was kinda
  missing the boat.
Merge of 2.4.x-xfs:slinx:108244a by lord.

  No Message Supplied

Revision 1.115 / (download) - annotate - [select for diffs], Wed Nov 28 04:53:02 2001 UTC (15 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.114: +30 -39 lines
Diff to previous 1.114 (unified)

fix several cases of whitespace abuse I came across accidentally.  these
are cluttering up my EA/ACL patches, so I'm pushing them in now.

Revision 1.114 / (download) - annotate - [select for diffs], Wed Nov 14 04:41:19 2001 UTC (15 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.113: +14 -22 lines
Diff to previous 1.113 (unified)

convert over from struct acl and other ACL related types/macros to
an xfs_acl_t variant so we can tell what is XFS-specific and what
is not.  will help our transition to a common EA/ACL codebase while
keeping our existing ondisk format intact.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Oct 26 19:42:54 2001 UTC (15 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.112: +1 -1 lines
Diff to previous 1.112 (unified)

use i_mapping instead of i_data

Revision 1.112 / (download) - annotate - [select for diffs], Mon Aug 13 12:12:07 2001 UTC (16 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.111: +10 -0 lines
Diff to previous 1.111 (unified)

merge upto 2.4.8

Revision 1.111 / (download) - annotate - [select for diffs], Fri Aug 3 07:18:53 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.110: +3 -2 lines
Diff to previous 1.110 (unified)

for offsets within the hole of a holey file, VOP_BMAP will give
bmap block numbers of -1.  we were charging on and using this value
in calculations which assumed a valid, positive block number.

Revision 1.110 / (download) - annotate - [select for diffs], Mon Jun 25 20:12:14 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.109: +1 -0 lines
Diff to previous 1.109 (unified)

Add the count of blocks to the fields updated in a directory when we
do a directory op within it.

Revision 1.109 / (download) - annotate - [select for diffs], Tue Jun 12 06:30:20 2001 UTC (16 years, 4 months ago) by kaos
Branch: MAIN
Changes since 1.108: +2 -0 lines
Diff to previous 1.108 (unified)

Remove warnings about unused variables

Revision 1.108 / (download) - annotate - [select for diffs], Mon Jun 11 21:21:15 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.107: +0 -1 lines
Diff to previous 1.107 (unified)

remove the toss_page call

Revision 1.107 / (download) - annotate - [select for diffs], Sat Jun 9 03:58:42 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.106: +2 -11 lines
Diff to previous 1.106 (unified)

we now only have a writepage method, the nounlock case is gone

Revision 1.106 / (download) - annotate - [select for diffs], Thu May 31 08:21:33 2001 UTC (16 years, 4 months ago) by kaos
Branch: MAIN
Changes since 1.105: +8 -0 lines
Diff to previous 1.105 (unified)

Make attrctl code conditional on CONFIG_HAVE_ATTRCTL

Revision 1.105 / (download) - annotate - [select for diffs], Thu May 17 20:53:29 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.104: +15 -2 lines
Diff to previous 1.104 (unified)

Use VMODIFIED flag in vnode to determine when the revalidate call has
work to do. Set the VMODIFIED flag in all the right places.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Apr 17 05:16:51 2001 UTC (16 years, 6 months ago) by tes
Branch: MAIN
Changes since 1.103: +10 -4 lines
Diff to previous 1.103 (unified)

Modify linvfs_common_cr() so that if a default acl does
not exist for the parent inode (using _ACL_GET_DEFAULT())
then apply the umask. Otherwise use the default acl for
_ACL_INHERIT().
pv#820248; rv:ajag@engr

Revision 1.103 / (download) - annotate - [select for diffs], Mon Apr 16 21:06:55 2001 UTC (16 years, 6 months ago) by ananth
Branch: MAIN
Changes since 1.102: +1 -2 lines
Diff to previous 1.102 (unified)

Remove redundant xfs_file.h & cleanup.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Apr 12 19:47:02 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.101: +1 -1 lines
Diff to previous 1.101 (unified)

Fix one more error return sign in linvfs_symlink

Revision 1.101 / (download) - annotate - [select for diffs], Thu Apr 12 19:24:39 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.100: +2 -0 lines
Diff to previous 1.100 (unified)

assign inode->i_rdev when device files are created

Revision 1.100 / (download) - annotate - [select for diffs], Mon Apr 9 17:05:56 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.99: +6 -6 lines
Diff to previous 1.99 (unified)

add new argument to linvfs_revalidate_core(), pass in ATTR_COMM from
internal calls, and 0 from the revalidate inode op.

Revision 1.99 / (download) - annotate - [select for diffs], Fri Apr 6 18:36:11 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.98: +14 -10 lines
Diff to previous 1.98 (unified)

fix sign problems with error returns, other minor error cleanups/simplifications

Revision 1.98 / (download) - annotate - [select for diffs], Tue Apr 3 17:32:55 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.97: +19 -40 lines
Diff to previous 1.97 (unified)

Avoid a function call based on kernel profiling showing it up

Revision 1.97 / (download) - annotate - [select for diffs], Fri Mar 16 21:40:20 2001 UTC (16 years, 7 months ago) by mann
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (unified)

Improved return value checking.

Revision 1.96 / (download) - annotate - [select for diffs], Fri Mar 9 15:55:37 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.95: +36 -29 lines
Diff to previous 1.95 (unified)

Add linvfs methods to pass linvfs bmap function into pagebuf.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Mar 5 16:47:52 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.94: +0 -0 lines
Diff to previous 1.94 (unified)

fix dioinfo ioctl return values

Revision 1.94 / (download) - annotate - [select for diffs], Tue Feb 27 00:36:49 2001 UTC (16 years, 7 months ago) by ananth
Branch: MAIN
Changes since 1.93: +2 -1 lines
Diff to previous 1.93 (unified)

Add a writepage routine that doesn't unlock the page on return;
used by page_launder->try_to_free_buffers->write_buffer->writepage.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Feb 5 19:29:03 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.92: +1 -1 lines
Diff to previous 1.92 (unified)

Change the convertpage method to a toss_page method.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Jan 23 19:48:45 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.91: +2 -60 lines
Diff to previous 1.91 (unified)

Remove linvfs_read_full_page and linvfs_write_full_page, we now go
direct to pagebuf functions without getting the rwlock.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Jan 23 07:11:51 2001 UTC (16 years, 8 months ago) by tes
Branch: MAIN
Changes since 1.90: +1 -3 lines
Diff to previous 1.90 (unified)

ACL config cleanup

Revision 1.90 / (download) - annotate - [select for diffs], Fri Jan 19 21:27:41 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.89: +7 -13 lines
Diff to previous 1.89 (unified)

rework linvfs_pb_bmap so it does its own inode locking rather than
passing PBF_BMAP_TRY_ILOCK down into VOP_BMAP.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Jan 19 06:50:04 2001 UTC (16 years, 9 months ago) by tes
Branch: MAIN
Changes since 1.88: +12 -1 lines
Diff to previous 1.88 (unified)

Make ACLs compile configurable

Revision 1.88 / (download) - annotate - [select for diffs], Thu Jan 18 22:31:19 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.87: +6 -1 lines
Diff to previous 1.87 (unified)

Call VOP_STRATEGY instead of VOP_BMAP for delalloc space allocation
calls.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Jan 15 10:28:46 2001 UTC (16 years, 9 months ago) by tes
Branch: MAIN
Changes since 1.86: +46 -0 lines
Diff to previous 1.86 (unified)

Add XFS/ACL support

Revision 1.86 / (download) - annotate - [select for diffs], Thu Jan 11 20:25:36 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.85: +2 -20 lines
Diff to previous 1.85 (unified)

Remve unneeded address space op added for xfs

Revision 1.85 / (download) - annotate - [select for diffs], Wed Dec 20 03:23:53 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.84: +4 -9 lines
Diff to previous 1.84 (unified)

put vops back to the same as irix 

Revision 1.84 / (download) - annotate - [select for diffs], Sun Dec 17 21:36:36 2000 UTC (16 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.83: +1 -0 lines
Diff to previous 1.83 (unified)

Ok one more missed line with the test12 merge.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Dec 17 20:57:13 2000 UTC (16 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.82: +3 -6 lines
Diff to previous 1.82 (unified)

Missed file in test12 update

Revision 1.82 / (download) - annotate - [select for diffs], Wed Dec 13 06:02:07 2000 UTC (16 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.81: +1 -1 lines
Diff to previous 1.81 (unified)

add parameter to VOP_TOSS_PAGES VOP_FLUSH_PAGES and VOP_FLUSHINVAL_PAGES for irix compatibility

Revision 1.81 / (download) - annotate - [select for diffs], Wed Nov 22 06:53:25 2000 UTC (16 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.80: +3 -2 lines
Diff to previous 1.80 (unified)

clean up uninitialized variables

Revision 1.80 / (download) - annotate - [select for diffs], Wed Nov 22 03:52:40 2000 UTC (16 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.79: +1 -11 lines
Diff to previous 1.79 (unified)

remove/fix unused variables

Revision 1.79 / (download) - annotate - [select for diffs], Wed Nov 15 15:36:07 2000 UTC (16 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (unified)

Add missing curly brackets

Revision 1.78 / (download) - annotate - [select for diffs], Tue Nov 14 16:24:30 2000 UTC (16 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.77: +2 -0 lines
Diff to previous 1.77 (unified)

Add required locking around flush call - debug build trips an assert without
this.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Oct 20 06:03:15 2000 UTC (17 years ago) by ajag
Branch: MAIN
Changes since 1.76: +72 -101 lines
Diff to previous 1.76 (unified)

Rip out existing 4 attr_get/set/list/remove iops.
Replace with single attrctl interface which farms out extended attribute operations
to existing VFS VOPs.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Oct 17 01:05:45 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.75: +2 -3 lines
Diff to previous 1.75 (unified)

Add prepare_write and commit_write methods to xfs

Revision 1.75 / (download) - annotate - [select for diffs], Fri Oct 13 11:49:46 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.74: +27 -42 lines
Diff to previous 1.74 (unified)

Make linvfs_bmap function without knowledge of xfs internals.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Oct 11 14:05:23 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.73: +1 -0 lines
Diff to previous 1.73 (unified)

Add notify change call for symlinks so that chown -h works

Revision 1.73 / (download) - annotate - [select for diffs], Tue Oct 10 14:38:27 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.72: +14 -50 lines
Diff to previous 1.72 (unified)

Remove direct references to xfs structures from several linvfs functions,
more still to come.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Sep 28 00:11:43 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.71: +1 -5 lines
Diff to previous 1.71 (unified)

remove unused headers.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.70: +2 -44 lines
Diff to previous 1.70 (unified)

use xfs.h, remove all traces of SIM, push extern declarations into headers,
dead code removal.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Sep 22 09:46:30 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.69: +0 -37 lines
Diff to previous 1.69 (unified)

remove dcache ops from xfs

Revision 1.69 / (download) - annotate - [select for diffs], Wed Sep 20 18:54:51 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.68: +22 -8 lines
Diff to previous 1.68 (unified)

in linvfs_bmap ensure that a file has a disk location before attempting
to find it - flush delalloc files. Then in doing the block calculations
take into account the difference between the start of the extent returned
and the location we were asking for.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Sep 15 02:21:02 2000 UTC (17 years, 1 month ago) by fsgqa
Branch: MAIN
Changes since 1.67: +15 -5 lines
Diff to previous 1.67 (unified)

pv 801241 rv lord add function linvfs_set_dentry_ops to set 
dentry ops

Revision 1.67 / (download) - annotate - [select for diffs], Mon Sep 11 19:49:21 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.66: +1 -1 lines
Diff to previous 1.66 (unified)

vn_rele and vn_put have been folded into one - vn_rele

Revision 1.66 / (download) - annotate - [select for diffs], Wed Sep 6 03:26:55 2000 UTC (17 years, 1 month ago) by ananth
Branch: MAIN
Changes since 1.65: +24 -3 lines
Diff to previous 1.65 (unified)

Workaround for swap deadlock problem.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Aug 30 21:54:03 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.64: +1 -6 lines
Diff to previous 1.64 (unified)

linvfs_write_full_page had a case where it did not write data and returned
success. This appears to be a result of cutting and pasting too much code
from the read_full_page case. This could only happen if we tried to swap
pages out from the file whilst another thread was doing file I/O.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Aug 18 19:27:11 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.63: +29 -0 lines
Diff to previous 1.63 (unified)

Add d_iput method to xfs - lets us intercept iput slightly higher up
the call stack.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jul 31 16:16:28 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (unified)

Bring tree up to 2.4.0-test5

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jul 26 16:03:54 2000 UTC (17 years, 2 months ago) by jtk
Branch: MAIN
Changes since 1.61: +116 -2 lines
Diff to previous 1.61 (unified)

XFS VFS layer routines for attr_{get,set,list,remove}.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jul 22 04:20:01 2000 UTC (17 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.60: +0 -1 lines
Diff to previous 1.60 (unified)

merge cred, mac, & cap headers to facilitate sharing between user and
kernel tools cleanly.  remove some unused headers, definitions, typedefs,
etc where found also.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jul 17 22:10:35 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59 (unified)

Fix typo in last checkin, not updating i_ctime on an inode

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jul 14 21:40:40 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.58: +32 -14 lines
Diff to previous 1.58 (unified)

Reintroduce the code for keeping directory link counts correct. We do need
to keep the inode link count correct all the time so that correct processing
is done out of iput and other places.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jul 10 22:53:45 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57 (unified)

Correct the sign of the error return out of
linvfs_pb_bmap.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jul 10 22:24:12 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.56: +17 -39 lines
Diff to previous 1.56 (unified)

Back out rev. 1.55, mod 2.4.0-test1-xfs:slinx:66111a,
some part of that change seemed to make things worse
rather than better.
Undoes mod:     2.4.0-test1-xfs:slinx:66111a

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jul 8 00:29:08 2000 UTC (17 years, 3 months ago) by ananth
Branch: MAIN
Changes since 1.55: +1 -0 lines
Diff to previous 1.55 (unified)

Changes to isolate delalloc handling to a single address space operation.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jul 7 17:57:31 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.54: +39 -17 lines
Diff to previous 1.54 (unified)

Be more agressive about keeping the link & size fields in
the linux inode in sync with the xfs inode.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jun 19 18:39:22 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.53: +1 -18 lines
Diff to previous 1.53 (unified)

Consolidate linvfs_revalidate_core & vn_revalidate.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jun 15 01:37:47 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.52: +29 -10 lines
Diff to previous 1.52 (unified)

use less stack in linvfs_follow_link to avoid overflow on recursion

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jun 14 17:26:47 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.51: +1 -16 lines
Diff to previous 1.51 (unified)

fix bug in linvfs_bmap - the xfs mount structure was being
incorrectly obtained.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jun 13 15:47:20 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.50: +0 -1 lines
Diff to previous 1.50 (unified)

Remove extra i_count increment which snuck in during previous take,
this prevents unmounts.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jun 12 22:19:02 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.49: +30 -44 lines
Diff to previous 1.49 (unified)

Changes to get XFS up and running in 2.4.0-test1

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jun 9 06:40:03 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.48: +63 -49 lines
Diff to previous 1.48 (unified)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Minor re-arrangement allowing for the differents
  location/initialization of the vnode.
  Add ASSERT's after inode to vnode address conversion.

Merge of 2.3.99pre2-xfs:slinx:63026a originally by cattelan on 05/30/00
  Masive type update 
  all daddr_t -> xfs_daddr_t
  caddr_t -> xfs_caddr_t
  off_t   -> xfs_off_t
  ino_t   -> xfs_ino_t
  off64_t -> xfs_off_t 
  Removed need for file xfs_to_linux.h and lunux_to_xfs.h

Merge of 2.3.99pre2-xfs:slinx:63175a originally by lord on 06/01/00
  Remove the extra hold taken on the inode which was preventing unmounts,
  the link call was the culprit.

Merge of 2.3.99pre2-xfs:slinx:63177a originally by lord on 06/01/00
  Pass vnode for entry being removed into VOP for unlink and rmdir

Merge of 2.3.99pre2-xfs:slinx:63336a originally by lord on 06/05/00
  Remove mark_inode_dirty() calls - xfs does its own thing for this

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jun 9 04:23:33 2000 UTC (17 years, 4 months ago) by nn100003
Branch: MAIN
Changes since 1.47: +64 -2 lines
Diff to previous 1.47 (unified)

Merge of 2.3.99pre2-xfs:slinx:61319a by ananth.

  Added linvfs_bmap() function for lilo to use

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jun 9 04:10:37 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.46: +36 -0 lines
Diff to previous 1.46 (unified)

Merge of 2.3.99pre2-xfs:slinx:60008a by ananth.

  Changes for XFS delayed allocation and page-cleaner daemon.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 9 03:33:48 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.45: +5 -2 lines
Diff to previous 1.45 (unified)

Merge of 2.3.99pre2-xfs:slinx:57499a by ananth.

  Use lock_page instead of LockPage. UnlockPage does a wakeup
  but LockPage doesn't check to see if set.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jun 9 03:29:24 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.44: +106 -73 lines
Diff to previous 1.44 (unified)

Merge of 2.3.99pre2-xfs:slinx:57237a by ananth.

  Remove linvfs_get_block(), not used.
  Have linvfs_pb_bmap just pass through flags.
  Get I/O lock in read/write full page and linvfs_file_read.
  This is done by having new routines in linvfs call pagebuf.
  The xfs_read lock is removed in xfs_read and now obtained
  in the linvfs layer routines at a lower level.
  Add delay alloc iomap routine and convert routine. These are not
  used, yet, but will be turned on soon when pagebuf is ready.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 9 03:28:16 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.43: +5 -1 lines
Diff to previous 1.43 (unified)

Merge of 2.3.99pre2-xfs:slinx:56996a by ananth.

  Allow mknod to function for devices other than block and char

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 9 03:23:30 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.42: +1 -0 lines
Diff to previous 1.42 (unified)

Merge of 2.3.99pre2-xfs:slinx:56508a by ananth.

  Ensure we clean up the dcache on a readlink error.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jun 9 03:21:08 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (unified)

Merge of 2.3.99pre2-xfs:slinx:56259a by ananth.

  Fix stat output to report correct block count (also fixes ls -s)

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jun 9 03:20:46 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.40: +17 -15 lines
Diff to previous 1.40 (unified)

Merge of 2.3.99pre2-xfs:slinx:56258a by ananth.

  Fix create failure path to actually return an error, also
  check for error in revalidate call for a shutdown filesystem.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jun 9 03:16:56 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.39: +31 -53 lines
Diff to previous 1.39 (unified)

Merge of 2.3.99pre2-xfs:slinx:56119a by ananth.

  Fix linvfs_mknod to handle char devices.
  Add v_nodeid to vnode struct an use this instead of VOP_GETATTR
  in lookup, create, mkdir, symlink. Also in symlink, modify VOP_SYMLINK
  to return the vp of symlink. This should close the window between
  VOP_SYMLINK and VOP_LOOKUP.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jun 9 03:02:09 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (unified)

Merge of 2.3.99pre2-xfs:slinx:56041a by ananth.

  We need permissions to return a negative error number

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jun 9 03:01:05 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37 (unified)

Merge of 2.3.99pre2-xfs:slinx:55941a by ananth.

  Fix compile warnings.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jun 9 02:50:02 2000 UTC (17 years, 4 months ago) by kenmcd
Branch: MAIN
CVS Tags: GPL-ENCUMBRANCE
Changes since 1.36: +25 -12 lines
Diff to previous 1.36 (unified)

Updated copyright and license notices, ready for open source release
Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jun 9 02:29:42 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (unified)

cleanup XFS use of device types
Merge of 2.3.99pre2-xfs:slinx:55615a by ananth.

  Merge of 2.3.42-xfs:slinx:55615a by lord.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 9 02:28:29 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.34: +68 -1 lines
Diff to previous 1.34 (unified)

Merge of 2.3.99pre2-xfs:slinx:55621a by ananth.

  notify_change is now part of inode_operations.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 9 02:26:50 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.33: +10 -5 lines
Diff to previous 1.33 (unified)

Merge of 2.3.99pre2-xfs:slinx:55601a by ananth.

  Bring XFS upto 2.3.99 (pre2).  

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jun 9 02:24:43 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (unified)

Merge of 2.3.99pre2-xfs:slinx:55532a by ananth.

  Merge of 2.3.42-xfs:slinx:55532a by ananth.
  Fix a bug in rmdir where the inode was not being
  released properly. This leads to bizzare cases
  where the (already removed) inode for the directory
  being used for normal files, resulting in EISDIR
  during I/O operations on that normal file.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 9 02:21:08 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.31: +1 -0 lines
Diff to previous 1.31 (unified)

Merge of 2.3.99pre2-xfs:slinx:47896a by ananth.

  Merge of 2.3.42-xfs:slinx:47896a by ananth.
  Add pagebuf_fileread inode op. This is so modules can use the same
  path for reads and in kernel pagebuf does.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jun 9 01:52:06 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.30: +0 -1 lines
Diff to previous 1.30 (unified)

Merge of 2.3.99pre2-xfs:slinx:46448a by ananth.

  Merge of 2.3.42-xfs:slinx:46448a by ananth.
  Added parameters to pass irq state through a couple of function calls

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 9 01:50:04 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.29: +3 -6 lines
Diff to previous 1.29 (unified)

Merge of 2.3.99pre2-xfs:slinx:46428a by ananth.

  Merge of 2.3.42-xfs:slinx:46428a by ananth.
  remove unused include files & fix a compiler warning.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.28: +20 -53 lines
Diff to previous 1.28 (unified)

use linux security mechanisms
Merge of 2.3.99pre2-xfs:slinx:46379a by ananth.

  Merge of 2.3.42-xfs:slinx:46379a by ananth.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 9 00:57:17 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.27: +77 -16 lines
Diff to previous 1.27 (unified)

Merge of 2.3.99pre2-xfs:slinx:45039a by ananth.

  Merge of 2.3.42-xfs:slinx:45039a by ananth.
  Use cred_fill_from_current() instead of sys_cred as
  a temporary workaround for creds.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 9 00:54:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (unified)

Merge of 2.3.99pre2-xfs:slinx:44904a by ananth.

  Merge of 2.3.42-xfs:slinx:44904a by ananth.
  Fixup to work with pagebuf or buf_t meta-data

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 9 00:01:09 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.25: +20 -57 lines
Diff to previous 1.25 (unified)

Merge of 2.3.99pre2-xfs:slinx:43495a by ananth.

  Merge of 2.3.42-xfs:slinx:43495a by ananth.
  Switch to new format of initializing function vectors   

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 8 23:59:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.24: +5 -276 lines
Diff to previous 1.24 (unified)

Bring XFS upto 2.3.42
Merge of 2.3.99pre2-xfs:slinx:43458a by ananth.

  Merge of 2.3.42-xfs:slinx:43458a by ananth.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 11 03:35:55 2000 UTC (17 years, 8 months ago) by mostek
Branch: MAIN
Changes since 1.23: +0 -4 lines
Diff to previous 1.23 (unified)

Remove VOP_RWLOCK calls from several ops since they are being
called after xfs_rdwr has already grabbed the locks.
These calls were removed from linvfs_updatepage (not in 2.3)
and linvfs_pb_bmap. We need to make sure page faults get
the lock somehow (if needed).

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 8 04:47:02 2000 UTC (17 years, 8 months ago) by mostek
Branch: MAIN
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (unified)

Clear locked bit and set error when bmap fails.
The fun things that file system corruption finds.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 4 20:15:54 2000 UTC (17 years, 8 months ago) by mostek
Branch: MAIN
Changes since 1.21: +2 -4 lines
Diff to previous 1.21 (unified)

We always want linvfs_pb_bmap defined whether or not we are using bufs
or pagebufs for meta-data.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.20: +11 -16 lines
Diff to previous 1.20 (unified)

Encumbrance review done.
Add copyright and license words consistent with GPL.
Refer to http://fsg.melbourne.sgi.com/reviews/ for details.

There is a slight change in the license terms and conditions words
to go with the copyrights, so most of the files are not getting
new GPL's, just updated versions ... but there are 20-30 more files
here as well.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 25 17:23:49 2000 UTC (17 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (unified)

linvfs_follow_link needs to provide a null terminated string to
lookup_dentry().

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 25 16:11:22 2000 UTC (17 years, 8 months ago) by mostek
Branch: MAIN
Changes since 1.18: +85 -15 lines
Diff to previous 1.18 (unified)

Handle cases where pages are being read/written with holes
and weird offsets. This requires zero'ing of pages ...

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 19 16:39:35 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.17: +25 -2 lines
Diff to previous 1.17 (unified)

Fix vnode and inode reference counts for link and symlink
paths.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 14 19:46:24 2000 UTC (17 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (unified)

Change ifdefs to check _USING_PAGEBUF_T rather than CONFIG_PAGEBUF

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jan 12 22:17:09 2000 UTC (17 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.15: +8 -14 lines
Diff to previous 1.15 (unified)

a few fixes to get writes working.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 6 20:24:44 2000 UTC (17 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.14: +217 -16 lines
Diff to previous 1.14 (unified)

Just do one call to VOP_BMAP for generic_readpage and build a list
of block numbers. This will be useful on writes, too.
Start coding the write side (linvfs_updatepage and ...).

Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 29 21:14:01 1999 UTC (17 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.13: +25 -12 lines
Diff to previous 1.13 (unified)

*** empty log message ***

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 21 04:22:06 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.12: +23 -0 lines
Diff to previous 1.12 (unified)

Encumbrance review done.  Add copyright and license words consistent with GPL.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 1 22:01:08 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.11: +2 -0 lines
Diff to previous 1.11 (unified)

Remove the bogus op from the 2.3 version of the fileops.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 1 21:31:34 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.10: +34 -6 lines
Diff to previous 1.10 (unified)

Integrate linux v2.3 version of iops interface

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 22 23:01:25 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.9: +3 -5 lines
Diff to previous 1.9 (unified)

Fix linvfs_bmap to cope with filesystem blocksize being
set correctly.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 22 16:08:53 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.8: +21 -1 lines
Diff to previous 1.8 (unified)

Implement rename operation

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 20 15:24:25 1999 UTC (18 years ago) by mostek
Branch: MAIN
Changes since 1.7: +21 -2 lines
Diff to previous 1.7 (unified)

Return the correct block number when there is an offset into
XFS bigger block. XFS is using 4K relative (512 indexed) with
a pboff into the 4K. We need to return 512 byte relative.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 18 16:37:39 1999 UTC (18 years ago) by mostek
Branch: MAIN
Changes since 1.6: +21 -4 lines
Diff to previous 1.6 (unified)

Add linvfs_readpage.

Have linvfs_readpage just call generic_read_page.

In linvfs_bmap, if the block requested is < 0, just return 0.
If the block returned by xfs_bmap is < 0, return 0, too. Returning
-1 makes this unsigned and the layer above will then call ll_rw_blck
with a large number.

This area still needs more work. We need to get 4K block sizes going
instead of 512.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 7 16:02:15 1999 UTC (18 years ago) by mostek
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (unified)

Change comment (name of file is no iops.c).

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 7 02:24:51 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.4: +24 -4 lines
Diff to previous 1.4 (unified)

perform xfs <-> linux dev_t mapping
Add (non-functioning) linvfs_bmap implementation

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 5 14:41:40 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.3: +46 -3 lines
Diff to previous 1.3 (unified)

Add implementations for readlink and followlink

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 4 21:52:52 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (unified)

return NULL on success from linvfs_lookup

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 1 16:28:47 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.1: +12 -19 lines
Diff to previous 1.1 (unified)

Modularize irix/linux type cooexistance

Revision 1.1 / (download) - annotate - [select for diffs], Thu Sep 30 14:10:40 1999 UTC (18 years ago) by lord
Branch: MAIN

xfs inode ops

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>