CVS log for xfs-linux/linux-2.6/xfs_vfs.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.82 / (download) - annotate - [select for diffs], Fri Oct 10 05:31:47 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.81: +0 -31 lines
Diff to previous 1.81 (unified)

move xfssyncd code to xfs_sync.c

Move all the xfssyncd code to the new xfs_sync.c file.
This places it closer to the actual code that it interacts
with, rather than just being associated with high level
VFS code.

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

  move xfssyncd code to xfs_sync.c

Revision 1.81 / (download) - annotate - [select for diffs], Thu Apr 10 06:17:06 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.80: +0 -1 lines
Diff to previous 1.80 (unified)

Remove periodic logging of in-core superblock counters.

xfssyncd triggers the logging of superblock counters every
30s if the filesystem is made with lazy-count=1. This will
prevent disks from idling and spinning down as there will
be a log write every 30s. With the way counter recovery
works for lazy-count=1, this code is unnecessary and provides
no real benefit, so just remove it.
Merge of xfs-linux-melb:xfs-kern:30840a by kenmcd.

  Remove periodic logging of in-core superblock counters.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Aug 24 16:18:10 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.79: +2 -12 lines
Diff to previous 1.79 (unified)

kill struct bhv_vfs

Now that struct bhv_vfs doesn't have any members left we can kill it
and go directly from the super_block to the xfs_mount everywhere.


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

  remove struct bhv_vfs and go directly to the superblock.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Aug 24 16:17:15 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.78: +2 -8 lines
Diff to previous 1.78 (unified)

move syncing related members from struct bhv_vfs to struct xfs_mount

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

  move sync-related members of bhv_vfs to xfs_mount.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Aug 24 16:16:26 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.77: +0 -8 lines
Diff to previous 1.77 (unified)

kill the vfs_flags member in struct bhv_vfs

All flags are added to xfs_mount's m_flag instead.  Note that the 32bit
inode flag was duplicated in both of them, but only cleared in the
mount when it was not nessecary due to the filesystem beeing small enough.
Two flags are still required here - one to indicate the mount option
setting, and one to indicate if it applies or not.

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

  move vfs_flags to xfs_mount.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Aug 24 16:15:28 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.76: +0 -2 lines
Diff to previous 1.76 (unified)

kill the vfs_fsid and vfs_altfsid members in struct bhv_vfs

vfs_altfsid was just a pointer to mp->m_fixedfsid so we can trivially
replace it with the latter.  vfs_fsid also was identicaly to m_fixedfsid
through rather obsfucated ways so we can kill it aswell and simply it's
only user.


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

  remove vfs_fsid and vfs_altfsid.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Aug 24 16:14:38 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.75: +2 -138 lines
Diff to previous 1.75 (unified)

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

Also remove the now dead behavior code.

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

  remove vfs operations.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Aug 24 16:12:53 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.74: +0 -5 lines
Diff to previous 1.74 (unified)

remove dependency of the quota module on behaviors

Mount options are now parsed by the main XFS module and rejected if quota
support is not available, and there are some new quota operation for the
quotactl syscall and calls to quote in the mount, unmount and sync
callchains.


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

  remove dependency of the quota module on behaviors

Revision 1.74 / (download) - annotate - [select for diffs], Fri Aug 24 16:12:03 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.73: +0 -7 lines
Diff to previous 1.73 (unified)

remove dependency of the dmapi module on behaviors

Mount options are now parsed by the main XFS module and rejected if dmapi
support is not available, and there is a new dm operation to send the
mount event.


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

  remove dependency of the dmapi module on behaviors

Revision 1.73 / (download) - annotate - [select for diffs], Fri Aug 24 16:10:21 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.72: +9 -9 lines
Diff to previous 1.72 (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.72 / (download) - annotate - [select for diffs], Fri Aug 24 16:04:16 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (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.71 / (download) - annotate - [select for diffs], Fri Jun 8 16:05:36 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.70: +14 -0 lines
Diff to previous 1.70 (unified)

Fix remount,readonly path to flush everything correctly.

The remount readonly path can fail to writeback properly because we
still have active transactions after calling xfs_quiesce_fs().
Further investigation shows that this path is broken in the same
ways that the xfs freeze path was broken so fix it the same
way.
Merge of xfs-linux-melb:xfs-kern:28869a by kenmcd.

  Define data and inode quiesce flush flags and document
  what they do.

Revision 1.70 / (download) - annotate - [select for diffs], Tue May 22 15:50:48 2007 UTC (10 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.69: +1 -0 lines
Diff to previous 1.69 (unified)

Lazy Superblock Counters

When we have a couple of hundred transactions on the fly at once,
they all typically modify the on disk superblock in some way.
create/unclink/mkdir/rmdir modify inode counts, allocation/freeing
modify free block counts.

When these counts are modified in a transaction, the must eventually
lock the superblock buffer and apply the mods.  The buffer then
remains locked until the transaction is committed into the incore
log buffer. The result of this is that with enough transactions on
the fly the incore superblock buffer becomes a bottleneck.

The result of contention on the incore superblock buffer is that
transaction rates fall - the more pressure that is put on the
superblock buffer, the slower things go.

The key to removing the contention is to not require the superblock
fields in question to be locked. We do that by not marking the
superblock dirty in the transaction. IOWs, we modify the incore
superblock but do not modify the cached superblock buffer. In short,
we do not log superblock modifications to critical fields in the
superblock on every transaction. In fact we only do it just before
we write the superblock to disk every sync period or just before
unmount.

This creates an interesting problem - if we don't log or write out
the fields in every transaction, then how do the values get
recovered after a crash? the answer is simple - we keep enough
duplicate, logged information in other structures that we can
reconstruct the correct count  after log recovery has been
performed.

It is the AGF and AGI structures that contain the duplicate
information; after recovery, we walk every AGI and AGF and sum their
individual counters to get the correct value, and we do a
transaction into the log to correct them. An optimisation of this is
that if we have a clean unmount record, we know the value in the
superblock is correct, so we can avoid the summation walk under
normal conditions and so mount/recovery times do not change under
normal operation.

One wrinkle that was discovered during development was that the
blocks used in the freespace btrees are never accounted for in the
AGF counters. This was once a valid optimisation to make; when the
filesystem is full, the free space btrees are empty and consume no
space. Hence when it matters, the "accounting" is correct.  But that
means the when we do the AGF summations, we would not have a correct
count and xfs_check would complain.  Hence a new counter was added
to track the number of blocks used by the free space btrees. This is
an *on-disk format change*.

As a result of this, lazy superblock counters are a mkfs option
and at the moment on linux there is no way to convert an old
filesystem. This is possible - xfs_db can be used to twiddle the
right bits and then xfs_repair will do the format conversion
for you. Similarly, you can convert backwards as well. At some point
we'll add functionality to xfs_admin to do the bit twiddling
easily....
Merge of xfs-linux-melb:xfs-kern:28652a by kenmcd.

  Changes to support lazy superblock counters.

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

Make freeze code a little cleaner.

Fixes a few small issues (mostly cosmetic) that were picked up during
the review cycle for the last set of freeze path changes.
Merge of xfs-linux-melb:xfs-kern:28035a by kenmcd.

  Convert SYNC_DIO_WAIT to SYNC_IOWAIT as it really waits for
  all I/O, not just direct I/O.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 2 14:37:48 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.67: +1 -0 lines
Diff to previous 1.67 (unified)

Ensure a frozen filesystem has a clean log before writing the dummy record.

The current Linux XFS freeze code is a mess. We flush the metadata
buffers out while we are still allowing new transactions to start
and then fail to flush the dirty buffers back out before writing
the unmount and dummy records to the log.

This leads to problems when the frozen filesystem is used for
snapshots - we do log recovery on a readonly image and often
it appears that the log image in the snapshot is not correct.
Hence we end up with hangs, oops and mount failures when trying
to mount a snapshot image that has been created when the filesystem
has not been correctly frozen.

To fix this, we need to move th metadata flush to after we wait for all
current transactions to complete in teh second stage of the freeze.
This means that when we write the final log records, the log should
be clean and recovery should never occur on a snapshot image created
from a frozen filesystem.
Merge of xfs-linux-melb:xfs-kern:28010a by kenmcd.

  Add definition of SYNC_DIO_WAIT for telling the sync code
  to wait for direct I/O to complete.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Dec 21 14:28:57 2006 UTC (10 years, 10 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.66: +1 -1 lines
Diff to previous 1.66 (unified)

Merge up to 2.6.19
Merge of xfs-linux-melb:xfs-kern:27801a by kenmcd.

Revision 1.66 / (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.65: +1 -1 lines
Diff to previous 1.65 (unified)

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

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

remove accidentally reintroduced vfs unmount flag, unneeded in current kernels
Merge of xfs-linux-melb:xfs-kern:26564a by kenmcd.

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

Remove dead code from our local tree.
Merge of xfs-linux-melb:xfs-kern:26246a by kenmcd.

Revision 1.63 / (download) - annotate - [select for diffs], Tue May 30 15:58:42 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.62: +3 -4 lines
Diff to previous 1.62 (unified)

Cleanup a missed porting conversion, and freezing.
Merge of xfs-linux-melb:xfs-kern:26109a by kenmcd.

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

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

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

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

Revision 1.60 / (download) - annotate - [select for diffs], Tue May 30 15:55:47 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.59: +68 -67 lines
Diff to previous 1.59 (unified)

Resolve a namespace collision on vfs/vfsops for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26106a by kenmcd.

Revision 1.59 / (download) - annotate - [select for diffs], Tue May 30 15:48:50 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.58: +7 -0 lines
Diff to previous 1.58 (unified)

Shutdown the filesystem if all device paths have gone.  Made shutdown vop flags consistent with sync vop flags declarations too.
Merge of xfs-linux-melb:xfs-kern:26096a by kenmcd.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Mar 23 02:48:21 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57 (unified)

We really suck at spulling.  Thanks to Chris Pascoe for fixing all these typos.
Merge of xfs-linux-melb:xfs-kern:25539a by kenmcd.

Revision 1.57 / (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.56: +2 -1 lines
Diff to previous 1.56 (unified)

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

Revision 1.56 / (download) - annotate - [select for diffs], Wed Nov 9 06:52:20 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.55: +0 -2 lines
Diff to previous 1.55 (unified)

remove unused IGET_NOALLOC flag
remove unused IGET_NOALLOC flag

Revision 1.55 / (download) - annotate - [select for diffs], Wed Oct 26 03:52:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.54: +1 -0 lines
Diff to previous 1.54 (unified)

Rework fid encode/decode wrt 64 bit inums interacting with NFS.
Merge of xfs-linux-melb:xfs-kern:24201a by kenmcd.

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

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

Revision 1.53 / (download) - annotate - [select for diffs], Wed Aug 31 08:37:36 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.52: +0 -2 lines
Diff to previous 1.52 (unified)

Switch kernel thread handling to the kthread_ API

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 23 14:57:47 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.51: +2 -7 lines
Diff to previous 1.51 (unified)

Replace the use of inter_module interfaces here, since those interfaces are deprecated.
Merge of xfs-linux-melb:xfs-kern:22964a by kenmcd.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jun 8 10:10:57 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.50: +1 -0 lines
Diff to previous 1.50 (unified)

quiesce the filesystem proper when freezing
add SYNC_QUIESCE flag

Revision 1.50 / (download) - annotate - [select for diffs], Mon Sep 27 03:34:33 2004 UTC (13 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.49: +14 -3 lines
Diff to previous 1.49 (unified)

Make xfssyncd more generic, hand off out-of-space flushing to it - fixes deadlocks near full and fixes a 4KSTACKS problem in XFS.
Merge of xfs-linux-melb:xfs-kern:19600a by kenmcd.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Aug 20 14:56:28 2004 UTC (13 years, 2 months ago) by jpk
Branch: MAIN
Changes since 1.48: +1 -1 lines
Diff to previous 1.48 (unified)

Update copyrights.
Update copyrights.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Aug 17 20:13:25 2004 UTC (13 years, 2 months ago) by jpk
Branch: MAIN
Changes since 1.47: +1 -0 lines
Diff to previous 1.47 (unified)

Quotas were not working after a recovery of relocation of the MDS.
The problem was that the QM behavior layer was not being inserted
as part of the recovery/relocation process.
Extern for bhv_get_vfsops().

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jun 9 09:33:17 2004 UTC (13 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.46: +9 -0 lines
Diff to previous 1.46 (unified)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
add VFS_FREEZE

Revision 1.46 / (download) - annotate - [select for diffs], Wed May 12 07:13:01 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.45: +3 -1 lines
Diff to previous 1.45 (unified)

Merge final laptop mode patch (xfssyncd) from Bart Samwel.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jan 14 23:44:27 2004 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.44: +20 -0 lines
Diff to previous 1.44 (unified)

Fix quota build on linux 2.6 after the -dev merge

Revision 1.44 / (download) - annotate - [select for diffs], Sun Nov 23 21:55:44 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (unified)

Use xfs_statfs type to statfs operation, to support multiple kernels more easily.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Nov 13 05:02:34 2003 UTC (13 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (unified)

Fix one more fsid_t type.
Merge of xfs-linux:slinx:155873a by sandeen.

  Missed this fsid_t the first time around

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jul 11 21:02:41 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (unified)

merge up to 2.5.73

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jun 18 03:11:38 2003 UTC (14 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 (unified)

Fix remount readonly so it really wont write dummy log records
Merge of 2.4.x-xfs:slinx:151423a by nathans.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jun 16 14:48:30 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (unified)

SYNC_FSDATA and SYNC_REFCACHE are supposed to be distinct values,
they ended up the same somehow.
Merge of 2.4.x-xfs:slinx:151227a by lord.

  make SYNC_FSDATA and SYNC_REFCACHE different

Revision 1.39 / (download) - annotate - [select for diffs], Fri May 9 15:04:43 2003 UTC (14 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.38: +0 -1 lines
Diff to previous 1.38 (unified)

avoid sleep_on in the sync code
Merge of 2.4.x-xfs:slinx:148415a by hch.

  remove vfsp->vfs_wait

Revision 1.38 / (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.37: +6 -1 lines
Diff to previous 1.37 (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.
  new vfs fields for the syncd thread 

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 23 16:29:11 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.36: +7 -1 lines
Diff to previous 1.36 (unified)

Rework the remount path to better seperate the linux vfs portion
and the xfs portion of it. Move the code to more appropriate
places in the tree.
Merge of 2.4.x-xfs:slinx:144140a originally by lord on 04/10/03
  change remount code so that it calls a vfs operation within
  XFS. reorganize the code underneath it. This better separates
  the linux vfs code and the xfs specific code and will let
  us enable more options on remount.
  add mntupdate support

Revision 1.36 / (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.35: +1 -1 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Mon Mar 17 07:19:15 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.34: +11 -1 lines
Diff to previous 1.34 (unified)

Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.
Merge of 2.4.x-xfs:slinx:141850a by nathans.

  Separate the quota source into its own subdirectory ala dmapi.
  Push a bunch of quota- and dmapi-specific code down into these
  subdirs which previously was compiled into the core XFS code,
  and don't descend into these subdirs if options config'd off.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 17 05:07:05 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.33: +11 -0 lines
Diff to previous 1.33 (unified)

Move some of the Linux-specific iget code out of the XFS core code, move
some of the initialisation code to a better spot (super.c -> vfs.c), fix
up some whitespace abuse and some more code formatting inconsistencies.
Merge of 2.4.x-xfs:slinx:141844a by nathans.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 12 06:04:25 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.32: +121 -143 lines
Diff to previous 1.32 (unified)

Next step in bhv code cleanup - this is a start on moving quota and dmapi
into behavior layers, purging several points where these sit slap bang in
the middle of XFS code (esp. read_super).  Also removes numerous #ifdef's
and a bunch of unused #define's from all over the place.  More to come.
Merge of 2.4.x-xfs:slinx:141499a by nathans.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 11 04:57:05 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.31: +2 -16 lines
Diff to previous 1.31 (unified)

First stage of behavior code cleanup - removes a bunch of unused macros
related to read/write locking the behavior change.
Merge of 2.4.x-xfs:slinx:141401a by nathans.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 4 16:45:43 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.30: +0 -9 lines
Diff to previous 1.30 (unified)

remove VFS_DOUNMOUNT

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 2 20:17:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.29: +10 -0 lines
Diff to previous 1.29 (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.

  Add a new vfs operation - INIT_INODE. This is used by the filesystem
  to glue the xfs inode, the vnode and the linux inode together.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Sep 4 22:26:29 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.28: +0 -2 lines
Diff to previous 1.28 (unified)

Merge of 2.4.x-xfs:slinx:126693a originally by sandeen on 09/04/02
  remove dead members of struct vfs

Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 26 17:41:03 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.27: +0 -1 lines
Diff to previous 1.27 (unified)

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

  remove vfs_fstype

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 24 13:13:46 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.26: +2 -12 lines
Diff to previous 1.26 (unified)

remove unused flags
Merge of 2.4.x-xfs:slinx:125884a by lord.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 20 21:22:31 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.25: +0 -11 lines
Diff to previous 1.25 (unified)

remove some more 'CELL_CAPABLE' code
Merge of 2.4.x-xfs:slinx:125504a by lord.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Aug 15 14:17:34 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.24: +40 -21 lines
Diff to previous 1.24 (unified)

remove unneeded vfs locking code
Merge of 2.4.x-xfs:slinx:124697a by lord.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Aug 2 16:45:08 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.23: +0 -8 lines
Diff to previous 1.23 (unified)

clean up a couple more cell defines
Merge of 2.4.x-xfs:slinx:123924a by lord.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Aug 2 16:06:15 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.22: +6 -0 lines
Diff to previous 1.22 (unified)

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

  make forced shutdown a vfs operation

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 18 15:13:49 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (unified)

Merge of 2.4.x-xfs:slinx:123123a originally by lord on 07/16/02
  rename xfs_args to xfs_mount_args

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 15 14:06:30 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.20: +4 -14 lines
Diff to previous 1.20 (unified)

rationalize mount arguments
Merge of 2.4.x-xfs:slinx:122852a by lord.

Revision 1.20 / (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.19: +101 -101 lines
Diff to previous 1.19 (unified)

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

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 24 14:30:46 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.18: +3 -4 lines
Diff to previous 1.18 (unified)

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

  Remove unused vfsmount and cvp params from VFSOPS_DMAPI_MOUNT.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 18 16:23:04 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.17: +0 -1 lines
Diff to previous 1.17 (unified)

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

  remove vfs_busydev - not used

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 17 15:47:07 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (unified)

Merge of 2.4.x-xfs:slinx:121659a originally by lord on 06/14/02
  more small cleanups

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jun 11 18:54:30 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.15: +0 -4 lines
Diff to previous 1.15 (unified)

more minor cleanup
Merge of 2.4.x-xfs:slinx:121226a by lord.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 10 18:58:45 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.14: +0 -1 lines
Diff to previous 1.14 (unified)

remove dead code
Merge of 2.4.x-xfs:slinx:121156a by lord.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 10 17:41:18 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.13: +0 -3 lines
Diff to previous 1.13 (unified)

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

  kill the use of a uio_t on the read/write path, it was just overhead

Revision 1.13 / (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.12: +1 -1 lines
Diff to previous 1.12 (unified)

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

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 30 01:00:48 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.11: +0 -8 lines
Diff to previous 1.11 (unified)

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

  kill an unused vfs operation

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 24 15:52:49 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.10: +0 -1 lines
Diff to previous 1.10 (unified)

Merge of 2.4.x-xfs:slinx:120139a originally by lord on 05/24/02
  remove vfs_setflag - no one uses it

Revision 1.10 / (download) - annotate - [select for diffs], Tue Mar 26 17:26:50 2002 UTC (15 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (unified)

To fix dm_handle_to_path() I need to be able to open a file by its handle,
when I don't know which filesystem the handle belongs to--meaning, I don't
have an open filedescriptor that I could use in, say,
ioctl(XFS_IOC_OPEN_BY_HANDLE), which means I don't have access to a vfsmount
ptr, which means I can't fully populate a new "struct file", which means
I'm giving the user a new filedescriptor that isn't safe to use.

This mod allows DMAPI to keep a vfsmount pointer that was used during the
mount event, and in a followup mod I will use that pointer for an
open_by_handle operation.
Merge of 2.4.x-xfs:slinx:114620a by lord.

  Change vfs_dmapi_mount prototype and VFSOPS_DMAPI_MOUNT macro to send
  vfsmount ptr.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 26 03:24:19 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.8: +0 -13 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Tue Dec 11 22:42:32 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (unified)

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

  Bypass xfs_dm_fcntl(), go straight to xfs_dm_get_fsys_vector().

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

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

  Add VFS_DMAPI_FSYS_VECTOR

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 16 03:45:35 2001 UTC (15 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (unified)

Wrap () around #define expressions with unary operators

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 24 18:43:41 2001 UTC (16 years, 6 months ago) by ananth
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.4: +1 -20 lines
Diff to previous 1.4 (unified)

Reorganize & cleanup code.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 20 03:23:53 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.3: +6 -0 lines
Diff to previous 1.3 (unified)

add more fields for CELL_CAPABLE

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 14 02:52:59 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.2: +13 -0 lines
Diff to previous 1.2 (unified)

push back some vfs fields for cxfs

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 10 20:58:19 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.1: +5 -0 lines
Diff to previous 1.1 (unified)

dmapi mounts are handled by do_mount via a callback.
Add vfs_dmapi_mount pointer to vfsops_t.
Add VFSOPS_DMAPI_MOUNT.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 26 05:02:06 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN

move from pseudo-inc to pair up with its .c file here.

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>