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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.283 / (download) - annotate - [select for diffs], Fri Oct 3 04:30:43 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.282: +1 -1 lines
Diff to previous 1.282 (colored)

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

Revision 1.282 / (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.281: +2 -5 lines
Diff to previous 1.281 (colored)

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.281 / (download) - annotate - [select for diffs], Wed Jul 23 16:32:19 2008 UTC (9 years, 3 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.280: +1 -1 lines
Diff to previous 1.280 (colored)

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.280 / (download) - annotate - [select for diffs], Mon Apr 21 06:17:24 2008 UTC (9 years, 6 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.279: +9 -12 lines
Diff to previous 1.279 (colored)

shrink mrlock_t

The writer field is not needed for non_DEBU builds so remove it.  While
we're at i also clean up the interface for is locked asserts to go
through and xfs_iget.c helper with an interface like the xfs_ilock
routines to isolated the XFS codebase from mrlock internals.  That way
we can kill mrlock_t entirely once rw_semaphores grow an islocked
facility.  Also remove unused flags to the ilock family of functions.


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

  shrink mrlock_t

Revision 1.279 / (download) - annotate - [select for diffs], Thu Apr 10 04:36:04 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.278: +3 -1 lines
Diff to previous 1.278 (colored)

Don't error out on good I/Os.

xfsbdstrat() made all I/Os error out, good or bad. Fix it.
Merge of xfs-linux-melb:xfs-kern:30836a by kenmcd.

  Don't error out on good I/Os in xfsbdstrat()

Revision 1.278 / (download) - annotate - [select for diffs], Thu Apr 10 04:25:55 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.277: +6 -13 lines
Diff to previous 1.277 (colored)

Ensure errors from xfs_bdstrat() are correctly checked.

xfsbdstrat() is declared to return an error. That is never checked
because the error is propagated by the xfs_buf_t that is passed
through the function.

Mark xfsbdstrat() as returning void and comment the prototype
on the methods needed for error checking.
Merge of xfs-linux-melb:xfs-kern:30823a by kenmcd.

  Ensure errors from xfs_bdstrat() are correctly checked.

Revision 1.277 / (download) - annotate - [select for diffs], Tue Feb 26 15:43:47 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.276: +1 -1 lines
Diff to previous 1.276 (colored)

Fix build issues from merge to 2.6.25-rc3
Merge of xfs-linux-melb:xfs-kern:30557a by kenmcd.

  Fix build issues from merge to 2.6.25-rc3

Revision 1.276 / (download) - annotate - [select for diffs], Tue Feb 26 03:23:54 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.275: +3 -5 lines
Diff to previous 1.275 (colored)

cleanup vnode use in xfs_lrw.c

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

  cleanup vnode use in xfs_lrw.c

Revision 1.275 / (download) - annotate - [select for diffs], Tue Feb 26 03:19:24 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.274: +6 -8 lines
Diff to previous 1.274 (colored)

cleanup vnode use in dmapi calls

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

  cleanup vnode use in dmapi calls

Revision 1.274 / (download) - annotate - [select for diffs], Fri Feb 22 03:09:12 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.273: +13 -18 lines
Diff to previous 1.273 (colored)

kill xfs_rwlock/xfs_rwunlock

We can just use xfs_ilock/xfs_iunlock instead and get rid of the ugly
bhv_vrwlock_t.


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

  kill xfs_rwlock/xfs_rwunlock

Revision 1.273 / (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.272: +12 -23 lines
Diff to previous 1.272 (colored)

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

Revision 1.272 / (download) - annotate - [select for diffs], Tue Nov 20 05:08:44 2007 UTC (9 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.271: +4 -5 lines
Diff to previous 1.271 (colored)

Remove the BPCSHIFT and NB* based macros from XFS.

The BPCSHIFT based macros, btoc*, ctob*, offtoc* and ctooff
are either not used or don't need to be used.
The NDPP, NDPP, NBBY macros don't need to be used but instead
are replaced directly by PAGE_SIZE and PAGE_CACHE_SIZE
where appropriate.
Initial patch and motivation from Nicolas Kaiser.
Merge of xfs-linux-melb:xfs-kern:30096a by kenmcd.

  simplify and use PAGE_CACHE_MASK

Revision 1.271 / (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.270: +2 -2 lines
Diff to previous 1.270 (colored)

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.270 / (download) - annotate - [select for diffs], Fri Sep 21 16:10:12 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.269: +24 -31 lines
Diff to previous 1.269 (colored)

kill xfs_iocore_t

xfs_iocore_t is a structure embedded in xfs_inode.  Except for one
field it just duplicates fields already in xfs_inode, and there is
nothing this abstraction buys us on XFS/Linux.  This patch removes
it and shrinks source and binary size of xfs aswell as shrinking
the size of xfs_inode by 60/44 bytes in debug/non-debug builds.


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

  kill xfs_iocore_t

Revision 1.269 / (download) - annotate - [select for diffs], Fri Sep 21 04:08:28 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.268: +17 -39 lines
Diff to previous 1.268 (colored)

kill unnessecary ioops indirection

Currently there is an indirection called ioops in the XFS data I/O
path.  Various functions are called by functions pointers, but there
is no coherence in what this is for, and of course for XFS itself
it's entirely unused.  This patch removes it instead and significantly
reduces source and binary size of XFS while making maintaince easier.
Merge of xfs-linux-melb:xfs-kern:29737a by kenmcd.

  kill unnessecary ioops indirection

Revision 1.268 / (download) - annotate - [select for diffs], Wed Sep 12 04:04:58 2007 UTC (10 years, 1 month ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.267: +3 -60 lines
Diff to previous 1.267 (colored)

Update 2.6.x-xfs to 2.6.23-rc4.

Also update fs/xfs with external mainline changes.
There were 12 such missing commits that I detected:

--------
commit ad690ef9e690f6c31f7d310b09ef1314bcec9033
Author: Al Viro <viro@ftp.linux.org.uk>
    xfs ioctl __user annotations

commit 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac
Author: Paul Mundt <lethal@linux-sh.org>
    mm: Remove slab destructors from kmem_cache_create().

commit d0217ac04ca6591841e5665f518e38064f4e65bd
Author: Nick Piggin <npiggin@suse.de>
    mm: fault feedback #1

commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7
Author: Nick Piggin <npiggin@suse.de>
    mm: merge populate and nopage into fault (fixes nonlinear)

commit d00806b183152af6d24f46f0c33f14162ca1262a
Author: Nick Piggin <npiggin@suse.de>
    mm: fix fault vs invalidate race for linear mappings

commit a569425512253992cc64ebf8b6d00a62f986db3e
Author: Christoph Hellwig <hch@infradead.org>
    knfsd: exportfs: add exportfs.h header

commit 831441862956fffa17b9801db37e6ea1650b0f69
Author: Rafael J. Wysocki <rjw@sisk.pl>
    Freezer: make kernel threads nonfreezable by default

commit 8e1f936b73150f5095448a0fee6d4f30a1f9001d
Author: Rusty Russell <rusty@rustcorp.com.au>
    mm: clean up and kernelify shrinker registration

commit 5ffc4ef45b3b0a57872f631b4e4ceb8ace0d7496
Author: Jens Axboe <jens.axboe@oracle.com>
    sendfile: remove .sendfile from filesystems that use generic_file_sendfile()

commit 8bb7844286fb8c9fce6f65d8288aeb09d03a5e0d
Author: Rafael J. Wysocki <rjw@sisk.pl>
    Add suspend-related notifications for CPU hotplug

commit 59c51591a0ac7568824f541f57de967e88adaa07
Author: Michael Opdenacker <michael@free-electrons.com>
    Fix occurrences of "the the "

commit 0ceb331433e8aad9c5f441a965d7c681f8b9046f
Author: Dmitriy Monakhov <dmonakhov@openvz.org>
    mm: move common segment checks to separate helper function
--------
Merge of xfs-linux-melb:xfs-kern:29656a by kenmcd.

Revision 1.267 / (download) - annotate - [select for diffs], Tue Sep 11 06:10:53 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.266: +6 -7 lines
Diff to previous 1.266 (colored)

ensure file size is logged on synchronous writes

Synchronous writes currently log inode changes before syncing
pages to disk.  Since the file size is updated on I/O completion
we wont be writing out the updated file size and if we crash the
file will have the wrong size.  This change moves the logging
after the syncing of the pages to ensure we log the correct file
size.
Merge of xfs-linux-melb:xfs-kern:29649a by kenmcd.

  ensure file size is logged on synchronous writes

Revision 1.266 / (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.265: +1 -1 lines
Diff to previous 1.265 (colored)

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.265 / (download) - annotate - [select for diffs], Fri Aug 24 16:05:15 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.264: +1 -1 lines
Diff to previous 1.264 (colored)

kill v_vfsp member from struct bhv_vnode

We can easily get at the vfsp through the super_block but it will soon
be gone anyway.


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

  remove v_vfsp from bhv_vnode.

Revision 1.264 / (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.263: +5 -3 lines
Diff to previous 1.263 (colored)

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.263 / (download) - annotate - [select for diffs], Fri Aug 24 16:03:11 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.262: +29 -45 lines
Diff to previous 1.262 (colored)

decontaminate vnode operations from behavior details

All vnode ops now take struct xfs_inode pointers and the behaviour
related glue is split out into methods of it's own.  This required
fixing xfs_create/mkdir/symlink to not mess with the inode pointer
but rather use a separate boolean for error handling.  Thanks to
Dave Chinner for that fix.


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

  convert vnode ops to take xfs_inode pointers and separate out
  behaviour related glue.

Revision 1.262 / (download) - annotate - [select for diffs], Mon Aug 6 15:41:08 2007 UTC (10 years, 2 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.261: +7 -13 lines
Diff to previous 1.261 (colored)

pv 968690, author Christoph Hellwig <hch@lst.de>, rv vapo - remove unessecary vfs argument to DM_EVENT_ENABLED
Merge of xfs-linux-melb:xfs-kern:29340a by kenmcd.

  pv 968690, author Christoph Hellwig <hch@lst.de>, rv vapo - remove unessecary vfs argument to DM_EVENT_ENABLED.

Revision 1.261 / (download) - annotate - [select for diffs], Thu May 24 06:07:48 2007 UTC (10 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.260: +1 -1 lines
Diff to previous 1.260 (colored)

Signed-off-by: Christoph Hellwig <hch@lst.de>
s/memclear_highpage_flush/zero_user_page/
Merge of xfs-linux-melb:xfs-kern:28678a by kenmcd.

  Signed-off-by: Christoph Hellwig <hch@lst.de>
  s/memclear_highpage_flush/zero_user_page/

Revision 1.260 / (download) - annotate - [select for diffs], Thu Apr 19 15:43:19 2007 UTC (10 years, 6 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.259: +26 -27 lines
Diff to previous 1.259 (colored)

Fix race in xfs_write() b/w dmapi callout and direct I/O checks.

In xfs_write() the iolock is dropped and reacquired in XFS_SEND_DATA() which
means that the file could change from not-cached to cached and we need to redo
the direct I/O checks.  We should also redo the direct I/O checks when the
file size changes regardless if O_APPEND is set or not.
Merge of xfs-linux-melb:xfs-kern:28440a by kenmcd.

  Fix race in xfs_write() b/w dmapi callout and direct I/O checks.

Revision 1.259 / (download) - annotate - [select for diffs], Fri Mar 30 04:04:14 2007 UTC (10 years, 6 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.258: +55 -36 lines
Diff to previous 1.258 (colored)

Fix to prevent the notorious 'NULL files' problem after a crash.

The problem that has been addressed is that of synchronising updates of
the file size with writes that extend a file.  Without the fix the update
of a file's size, as a result of a write beyond eof, is independent of
when the cached data is flushed to disk.  Often the file size update would
be written to the filesystem log before the data is flushed to disk.  When
a system crashes between these two events and the filesystem log is
replayed on mount the file's size will be set but since the contents never
made it to disk the file is full of holes.  If some of the cached data was
flushed to disk then it may just be a section of the file at the end that
has holes.

There are existing fixes to help alleviate this problem, particularly in
the case where a file has been truncated, that force cached data to be
flushed to disk when the file is closed.  If the system crashes while the
file(s) are still open then this flushing will never occur.

The fix that we have implemented is to introduce a second file size, called
the in-memory file size, that represents the current file size as viewed by
the user.  The existing file size, called the on-disk file size, is the one
that get's written to the filesystem log and we only update it when it is
safe to do so.  When we write to a file beyond eof we only update the in-
memory file size in the write operation.  Later when the I/O operation, that
flushes the cached data to disk completes, an I/O completion routine will
update the on-disk file size.  The on-disk file size will be updated to the
maximum offset of the I/O or to the value of the in-memory file size if the
I/O includes eof.
Merge of xfs-linux-melb:xfs-kern:28322a by kenmcd.

  Fix to prevent the notorious 'NULL files' problem after a crash.

Revision 1.258 / (download) - annotate - [select for diffs], Thu Mar 29 03:57:43 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.257: +32 -29 lines
Diff to previous 1.257 (colored)

Fix race condition in xfs_write().

This change addresses a race in xfs_write() where, for direct I/O, the
flags need_i_mutex and need_flush are setup before the iolock is acquired.
The logic used to setup the flags may change between setting the flags
and acquiring the iolock resulting in these flags having incorrect values.
For example, if a file is not currently cached then need_i_mutex is set to
zero and then if the file is cached before the iolock is acquired we will
fail to do the flushinval before the direct write.

The flush (and also the call to xfs_zero_eof()) need to be done with the
iolock held exclusive so we need to acquire the iolock before checking for
cached data (or if the write begins after eof) to prevent this state from
changing.  For direct I/O I've chosen to always acquire the iolock in
shared mode initially and if there is a need to promote it then drop it
and reacquire it.

There's also some other tidy-ups including removing the O_APPEND offset
adjustment since that work is done in generic_write_checks() (and we don't
use offset as an input parameter anywhere).
Merge of xfs-linux-melb:xfs-kern:28319a by kenmcd.

  Fix race condition in xfs_write().

Revision 1.257 / (download) - annotate - [select for diffs], Sat Mar 10 02:56:10 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.256: +9 -3 lines
Diff to previous 1.256 (colored)

propogate return codes from flush routines

This patch handles error return values in fs_flush_pages and fs_flushinval_pages.
It changes the prototype of fs_flushinval_pages so we can propogate the errors
and handle them at higher layers.  I also modified xfs_itruncate_start so that
it could propogate the error further.
Merge of xfs-linux-melb:xfs-kern:28231a by kenmcd.

  propogate return codes from flush routines

Revision 1.256 / (download) - annotate - [select for diffs], Wed Feb 7 05:09:06 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.255: +3 -7 lines
Diff to previous 1.255 (colored)

Don't use kmap in xfs_iozero.

kmap() is inefficient and does not scale well. kmap_atomic() is a
better choice. Use the generic wrapper function instead of open
coding the kmap-memset-dcache flush-kunmap stuff.
Merge of xfs-linux-melb:xfs-kern:28041a by kenmcd.

  replace kmap usage in xfs_iozero with more optimal implementation.

Revision 1.255 / (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.254: +0 -2 lines
Diff to previous 1.254 (colored)

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.254 / (download) - annotate - [select for diffs], Sat Feb 3 02:54:36 2007 UTC (10 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.253: +18 -18 lines
Diff to previous 1.253 (colored)

Fix callers of xfs_iozero() to zero the correct range.

The problem is the two callers of xfs_iozero() are rounding out the range
to be zeroed to the end of a fsb and in some cases this extends past the new
eof.  The call to commit_write() in xfs_iozero() will cause the Linux inode's
file size to be set too high.
Merge of xfs-linux-melb:xfs-kern:28013a by kenmcd.

  Fix callers of xfs_iozero() to zero the correct range.

Revision 1.253 / (download) - annotate - [select for diffs], Fri Jan 12 15:07:09 2007 UTC (10 years, 9 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.252: +1 -1 lines
Diff to previous 1.252 (colored)

Merge up to 2.6.20-rc4
Merge of xfs-linux-melb:xfs-kern:27915a by kenmcd.

Revision 1.252 / (download) - annotate - [select for diffs], Tue Oct 31 15:08:00 2006 UTC (10 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.251: +3 -1 lines
Diff to previous 1.251 (colored)

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

Revision 1.251 / (download) - annotate - [select for diffs], Tue Sep 5 03:52:10 2006 UTC (11 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.250: +16 -0 lines
Diff to previous 1.250 (colored)

Fix xfs_splice_write() so appended data gets to disk.

xfs_splice_write() failed to update the on disk inode size when
extending the so when the file was closed the range extended by
splice was truncated off. Hence any region of a file written
to by splice would end up as a hole full of zeros.
Merge of xfs-linux-melb:xfs-kern:26920a by kenmcd.

  Update xfs inode size if xfs_splice_write is writing beyond the
  end of the current file.

Revision 1.250 / (download) - annotate - [select for diffs], Mon Sep 4 03:52:24 2006 UTC (11 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.249: +5 -5 lines
Diff to previous 1.249 (colored)

Minor cleanup from dio locking fix, remove an extra conditional.
Merge of xfs-linux-melb:xfs-kern:26908a by kenmcd.

Revision 1.249 / (download) - annotate - [select for diffs], Fri Sep 1 06:11:19 2006 UTC (11 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.248: +6 -5 lines
Diff to previous 1.248 (colored)

Fix ABBA deadlock between i_mutex and iolock.  Avoid calling __blockdev_direct_IO
for the DIO_OWN_LOCKING case for direct I/O reads since it drops and reacquires
the i_mutex while holding the iolock and this violates the locking order.
Merge of xfs-linux-melb:xfs-kern:26898a by kenmcd.

  Release the i_mutex before calling __generic_file_aio_read().  We no longer
  use the DIO_OWN_LOCKING case for direct I/O reads so __blockdev_direct_IO
  wont release the i_mutex around the I/O anymore.  We only need to hold the
  i_mutex around the call to bhv_vop_flushinval_pages() in xfs_read() anyway.

Revision 1.248 / (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.247: +0 -2 lines
Diff to previous 1.247 (colored)

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

Revision 1.247 / (download) - annotate - [select for diffs], Thu Jun 15 03:55:18 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.246: +3 -73 lines
Diff to previous 1.246 (colored)

Push some common code out of write path into core XFS code for sharing.
Merge of xfs-linux-melb:xfs-kern:26248a by kenmcd.

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

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

Revision 1.245 / (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.244: +5 -5 lines
Diff to previous 1.244 (colored)

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

Revision 1.244 / (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.243: +5 -5 lines
Diff to previous 1.243 (colored)

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

Revision 1.243 / (download) - annotate - [select for diffs], Tue May 30 15:47:12 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.242: +3 -14 lines
Diff to previous 1.242 (colored)

Drop use of m_writeio_blocks when zeroing, its not meaningful anymore here.
Merge of xfs-linux-melb:xfs-kern:26094a by kenmcd.

Revision 1.242 / (download) - annotate - [select for diffs], Mon May 29 15:50:44 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.241: +2 -2 lines
Diff to previous 1.241 (colored)

Fix mismerge of a mainline change.
Merge of xfs-linux-melb:xfs-kern:26077a by kenmcd.

Revision 1.241 / (download) - annotate - [select for diffs], Mon May 29 15:49:16 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.240: +97 -29 lines
Diff to previous 1.240 (colored)

Merge back the splice support code I added directly into mainline.
Merge of xfs-linux-melb:xfs-kern:26074a by kenmcd.

Revision 1.240 / (download) - annotate - [select for diffs], Thu Apr 13 10:13:05 2006 UTC (11 years, 6 months ago) by olaf
Branch: MAIN
Changes since 1.239: +2 -2 lines
Diff to previous 1.239 (colored)

Add parameters to xfs_bmapi() and xfs_bunmapi() to have them
report the range spanned by modifications to the in-core extent
map.  Add XFS_BUNMAPI() and XFS_SWAP_EXTENTS() macros that call
xfs_bunmapi() and xfs_swap_extents() via the ioops vector.
Change all calls that may modify the in-core extent map for the
data fork to go through the ioops vector.  This allows a cache
of extent map data to be kept in sync.
Provide extra parameter for XFS_BMAPI().

Revision 1.239 / (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.238: +1 -1 lines
Diff to previous 1.238 (colored)

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.238 / (download) - annotate - [select for diffs], Mon Mar 20 17:11:22 2006 UTC (11 years, 7 months ago) by yingping
Branch: MAIN
Changes since 1.237: +2 -2 lines
Diff to previous 1.237 (colored)

Fixing KDB's xrwtrc command, also added the current process id into the trace.
Added current process id to xfs_rw_trace and xfs_inval_cached_trace

Revision 1.237 / (download) - annotate - [select for diffs], Fri Mar 17 14:32:41 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.236: +4 -0 lines
Diff to previous 1.236 (colored)

Flush and invalidate dirty pages at the start of a direct read also, else we can hit a delalloc-extents-via-direct-io BUG.
Merge of xfs-linux-melb:xfs-kern:25483a by kenmcd.

Revision 1.236 / (download) - annotate - [select for diffs], Fri Mar 17 14:30:25 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.235: +20 -21 lines
Diff to previous 1.235 (colored)

Cleanup references to i_sem.
Merge of xfs-linux-melb:xfs-kern:25480a by kenmcd.

Revision 1.235 / (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.234: +1 -1 lines
Diff to previous 1.234 (colored)

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

Revision 1.234 / (download) - annotate - [select for diffs], Wed Jan 25 00:34:27 2006 UTC (11 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.233: +10 -10 lines
Diff to previous 1.233 (colored)

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

Revision 1.233 / (download) - annotate - [select for diffs], Sat Dec 17 11:31:50 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.232: +5 -5 lines
Diff to previous 1.232 (colored)

Complete the pagebuf -> xfs_buf naming convention transition, finally.
Merge of xfs-linux-melb:xfs-kern:24866a by kenmcd.

Revision 1.232 / (download) - annotate - [select for diffs], Thu Dec 15 21:25:27 2005 UTC (11 years, 10 months ago) by yingping
Branch: MAIN
Changes since 1.231: +4 -0 lines
Diff to previous 1.231 (colored)

Fixed delayed_blks assert failure during umount. The delayed_blks was caused by ENOSPC but not
Rreclaimed by xfs_release or xfs_inactive. The fix changed the condition in xfs_release and
xfs_inactive to invoke xfs_inactive_free_eofblocks for this special case, changed
xfs_inactive_free_eofblocks to clean the delayed blks after eof. It also changed xfs_write to
set correct eof when ENOSPC occurs.
This change make the file size intact when a write request was not successful due to ENOSPC.

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: +0 -6 lines
Diff to previous 1.230 (colored)

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 Dec 7 05:08:24 2005 UTC (11 years, 10 months ago) by sandeen
Branch: MAIN
Changes since 1.229: +10 -26 lines
Diff to previous 1.229 (colored)

remove unused vars, args, & unneeded intermediate vars from zeroing code
remove unused vars, args, & unneeded intermediate vars from zeroing code

Revision 1.229 / (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.228: +12 -26 lines
Diff to previous 1.228 (colored)

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, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.227: +6 -12 lines
Diff to previous 1.227 (colored)

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, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.226: +5 -10 lines
Diff to previous 1.226 (colored)

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], Wed Aug 3 10:58:24 2005 UTC (12 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.225: +0 -3 lines
Diff to previous 1.225 (colored)

Delay direct I/O completion to a workqueue

This is nessecary because aio+dio completions may happen from irq
context but we need process context for converting unwritten extents.

We also queue regular direct I/O completions to workqueue for regularity,
there's only one queue_work call per syscall.

Revision 1.225 / (download) - annotate - [select for diffs], Fri Jun 17 14:33:58 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.224: +0 -24 lines
Diff to previous 1.224 (colored)

(mostly) remove xfs_inval_cached_pages

Since the last round of direct I/O locking changes it is just a wrapper
around VOP_FLUSHINVAL_PAGES, so it's not nessecary anymore.  Keep a simplified
version for kernels < 2.4.22, as these don't have the changed direct I/O
locking.
(mostly) remove xfs_inval_cached_pages

Revision 1.224 / (download) - annotate - [select for diffs], Fri Apr 22 14:57:12 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.223: +3 -0 lines
Diff to previous 1.223 (colored)

Disable the combination of XFS direct IO and AIO until the IO completion handling for unwritten extents can be moved out of interrupt context.
Merge of xfs-linux-melb:xfs-kern:22343a by kenmcd.

Revision 1.223 / (download) - annotate - [select for diffs], Wed Mar 16 18:24:02 2005 UTC (12 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.222: +8 -2 lines
Diff to previous 1.222 (colored)

Handle inode semaphores properly for dmapi queues
In the 2.6 kernel fix two deadlock situations: set the correct
DM_SEM_* flags for xfs_read, and fix the sems for the NOSPACE event in
xfs_write.

Revision 1.222 / (download) - annotate - [select for diffs], Thu Mar 3 16:59:39 2005 UTC (12 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.221: +1 -0 lines
Diff to previous 1.221 (colored)

fix DMAPI & NOSPACE data corruption
data offset is not reset at retry

Revision 1.221 / (download) - annotate - [select for diffs], Fri Feb 11 02:46:15 2005 UTC (12 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.220: +2 -2 lines
Diff to previous 1.220 (colored)

Fix problems with synchronous writes returning EAGAIN incorrectly for pinned inodes.
Merge of xfs-linux-melb:xfs-kern:21460a by kenmcd.

Revision 1.220 / (download) - annotate - [select for diffs], Mon Feb 7 02:41:45 2005 UTC (12 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.219: +2 -0 lines
Diff to previous 1.219 (colored)

Reinstate missing frozen check on write, fixes snapshots and xfs_freeze.
Merge of xfs-linux-melb:xfs-kern:21407a by kenmcd.

Revision 1.219 / (download) - annotate - [select for diffs], Wed Jan 12 22:05:15 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.218: +2 -2 lines
Diff to previous 1.218 (colored)

Make IO work again
only wait for iocb completion for non-AIO requests

Revision 1.218 / (download) - annotate - [select for diffs], Wed Nov 24 04:55:18 2004 UTC (12 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.217: +11 -6 lines
Diff to previous 1.217 (colored)

Fix i_sem and XFS IO lock locking-order-reversal on direct IO reads.
Merge of xfs-linux-melb:xfs-kern:20286a by kenmcd.

Revision 1.217 / (download) - annotate - [select for diffs], Fri Oct 1 05:56:30 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.216: +163 -130 lines
Diff to previous 1.216 (colored)

Merge back Christophs buffered/direct locking fixes.
Merge of xfs-linux-melb:xfs-kern:19638a by kenmcd.

Revision 1.216 / (download) - annotate - [select for diffs], Mon Sep 13 00:21:46 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.215: +6 -4 lines
Diff to previous 1.215 (colored)

Ensure bytes read statistic is not updated when generic routines fail.

Revision 1.215 / (download) - annotate - [select for diffs], Wed Aug 25 23:24:33 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.214: +1 -1 lines
Diff to previous 1.214 (colored)

Fix incorrect sparse annotation for sendfile operation.  Fix from Al Viro.

Revision 1.214 / (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.213: +1 -1 lines
Diff to previous 1.213 (colored)

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

Revision 1.213 / (download) - annotate - [select for diffs], Thu Jul 8 07:38:08 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.212: +4 -4 lines
Diff to previous 1.212 (colored)

sparse: fix warnings in IO path tracing code.  From Chris Wedgwood.

Revision 1.212 / (download) - annotate - [select for diffs], Mon Jun 28 10:15:35 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.211: +2 -2 lines
Diff to previous 1.211 (colored)

sparse: fix warnings in debug/tracing code.  From Chris Wedgwood.

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

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

Revision 1.210 / (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.209: +0 -2 lines
Diff to previous 1.209 (colored)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
call fs_check_frozen instead of xfs_check_frozen

Revision 1.209 / (download) - annotate - [select for diffs], Mon May 10 06:42:59 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.208: +1 -1 lines
Diff to previous 1.208 (colored)

Fixup a couple of incorrect xfs_trans_commit calls (bad flags/casts).

Revision 1.208 / (download) - annotate - [select for diffs], Sat Feb 28 13:41:58 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.207: +2 -2 lines
Diff to previous 1.207 (colored)

really kill the pagebuf vs xfs_buf confusion

Revision 1.207 / (download) - annotate - [select for diffs], Sat Feb 28 12:07:56 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.206: +0 -0 lines
Diff to previous 1.206 (colored)

replace page_buf_t, pb_target_t and page_buf_daddr_t with their xfs_ variants

Revision 1.206 / (download) - annotate - [select for diffs], Thu Feb 26 21:16:57 2004 UTC (13 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.205: +1 -1 lines
Diff to previous 1.205 (colored)

Change DM_SEM_FLAG to DM_SEM_FLAG_RD

Revision 1.205 / (download) - annotate - [select for diffs], Tue Feb 24 19:21:20 2004 UTC (13 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.204: +2 -1 lines
Diff to previous 1.204 (colored)

release i_sem before going into dmapi queues

Revision 1.204 / (download) - annotate - [select for diffs], Tue Feb 10 08:57:09 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.203: +1 -1 lines
Diff to previous 1.203 (colored)

Fix the build, botched the sendfile trace callout with tracing enabled.

Revision 1.203 / (download) - annotate - [select for diffs], Tue Feb 10 05:51:00 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.202: +10 -9 lines
Diff to previous 1.202 (colored)

Add I/O path tracing code, twas useful in diagnosing that last unwritten extent problem.

Revision 1.202 / (download) - annotate - [select for diffs], Thu Nov 20 00:55:29 2003 UTC (13 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.201: +4 -3 lines
Diff to previous 1.201 (colored)

move the iomap data structures out of pagebuf
Merge of xfs-linux:slinx:162048a by nathans.

  Use the new iomap flags and data structures

Revision 1.201 / (download) - annotate - [select for diffs], Fri Oct 17 02:56:21 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.200: +124 -3 lines
Diff to previous 1.200 (colored)

Add some IO path tracing, move inval_cached_pages to a better home to help.
Merge of xfs-linux:slinx:160171a by nathans.

Revision 1.200 / (download) - annotate - [select for diffs], Wed Oct 8 18:40:57 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.199: +3 -4 lines
Diff to previous 1.199 (colored)

remove FINVIS from xfs, instead use a seperate file ops
vector for files which are opened for invisible I/O.

Revision 1.199 / (download) - annotate - [select for diffs], Wed Oct 8 17:06:23 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.198: +7 -7 lines
Diff to previous 1.198 (colored)

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

Revision 1.198 / (download) - annotate - [select for diffs], Wed Oct 8 14:20:25 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.197: +4 -4 lines
Diff to previous 1.197 (colored)

switch xfs to use linux imode flags internally
Merge of xfs-linux:slinx:159631a by lord.

Revision 1.197 / (download) - annotate - [select for diffs], Fri Sep 26 17:47:08 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.196: +1 -1 lines
Diff to previous 1.196 (colored)

Fix arg sent to XFS_SEND_DATA - vnode, not bhv

Revision 1.196 / (download) - annotate - [select for diffs], Tue Sep 23 21:46:56 2003 UTC (14 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.195: +2 -2 lines
Diff to previous 1.195 (colored)

Make dm_send_data_event use vp rather than bhv
Merge of 2.4.x-xfs-kern:slinx:158840a by roehrich.

  Make dm_send_data_event use vp rather than bhv

Revision 1.195 / (download) - annotate - [select for diffs], Mon Sep 8 06:59:15 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.194: +4 -6 lines
Diff to previous 1.194 (colored)

Fix races between O_DIRECT and fcntl with F_SETFL flag on the XFS IO path
Merge of xfs-linux:slinx:157936a by nathans.

Revision 1.194 / (download) - annotate - [select for diffs], Thu Aug 28 14:59:54 2003 UTC (14 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored)

Change dm_send_namesp_event to take vnode ptrs rather than bhv ptrs.
Merge of xfs-linux:slinx:157475a by roehrich.

  Change dm_send_namesp_event to take vnode ptrs rather than bhv ptrs.

Revision 1.193 / (download) - annotate - [select for diffs], Thu Aug 21 20:43:17 2003 UTC (14 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.192: +6 -6 lines
Diff to previous 1.192 (colored)

Re-work xfs stats macros to support per-cpu data
Merge of xfs-linux:slinx:156453a by sandeen.

Revision 1.192 / (download) - annotate - [select for diffs], Tue Jul 29 16:45:32 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.191: +2 -1 lines
Diff to previous 1.191 (colored)

Only add bytes read into the stats if we did not get an error

Revision 1.191 / (download) - annotate - [select for diffs], Tue Jul 29 16:41:53 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.190: +11 -4 lines
Diff to previous 1.190 (colored)

Change XFS to support sector aligned O_DIRECT rather than filesystem block
alignment.
Do per device alignment for direct IO.

Revision 1.190 / (download) - annotate - [select for diffs], Tue Jul 29 16:33:46 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.189: +37 -52 lines
Diff to previous 1.189 (colored)

Rework XFS read/write path so that there is one common read and one common
  write path for all the different I/O variants. This means we can now support
  true async I/O.
Pass an iocb down through xfs_read and xfs_write to allow them to be used
for true async I/O. 

Revision 1.189 / (download) - annotate - [select for diffs], Wed Jul 16 00:38:30 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.188: +2 -1 lines
Diff to previous 1.188 (colored)

Fix the resvsp/truncate interaction problem that mikes@av.com reported
Merge of xfs-linux:slinx:153351a by nathans.

Revision 1.188 / (download) - annotate - [select for diffs], Thu Jul 10 02:12:27 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.187: +4 -3 lines
Diff to previous 1.187 (colored)

Correct the maxbytes sb value for non-pagesize filesystem block sizes, and all uses of max file size constant within XFS
Merge of xfs-linux:slinx:152845a by nathans.

Revision 1.187 / (download) - annotate - [select for diffs], Fri May 16 06:18:07 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.186: +7 -13 lines
Diff to previous 1.186 (colored)

Small buftarg cleanup - keep code which pokes inside a buftarg all in
one spot, which lets us keep more common code in sync, 2.4/2.5 and is
slightly cleaner anyway.
Merge of 2.4.x-xfs:slinx:149231a by nathans.

  Move details of buftarg internals into xfs_super.c with similar code.

Revision 1.186 / (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.185: +38 -1 lines
Diff to previous 1.185 (colored)

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.185 / (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.184: +0 -27 lines
Diff to previous 1.184 (colored)

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.
  remove XFS_log_write_unmount_ro from here

Revision 1.184 / (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.183: +9 -10 lines
Diff to previous 1.183 (colored)

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.183 / (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.182: +25 -26 lines
Diff to previous 1.182 (colored)

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.182 / (download) - annotate - [select for diffs], Mon Mar 17 02:19:54 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.181: +0 -1 lines
Diff to previous 1.181 (colored)

Minor header shuffling, removing a bunch of already-included files and
allowing 2.4/2.5 to be slightly more in sync.
Merge of 2.4.x-xfs:slinx:141841a by nathans.

Revision 1.181 / (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.180: +25 -9 lines
Diff to previous 1.180 (colored)

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.180 / (download) - annotate - [select for diffs], Tue Jan 14 15:33:09 2003 UTC (14 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.179: +3 -4 lines
Diff to previous 1.179 (colored)

Revisit the remount read only code again.
apparently the root file system are not being synced
correctly during system shutdown
Merge of 2.4.x-xfs:slinx:136269a by hch.

  call new function xfs_reclaim_all to unmount_ro path

Revision 1.179 / (download) - annotate - [select for diffs], Fri Dec 13 17:10:49 2002 UTC (14 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.178: +19 -0 lines
Diff to previous 1.178 (colored)

rework iocore infrastructure, remove some code and make it more
orthogonal. In addition, add some of the hooks for unwritten extents.
Merge of 2.4.x-xfs:slinx:134603a by hch.

  Merge of 2.4.x-xfs-dev:slinx:134603a by lord.
  add xfs_bmap as a thin wrapper around xfs_iomap

Revision 1.178 / (download) - annotate - [select for diffs], Thu Dec 5 18:50:54 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.177: +9 -17 lines
Diff to previous 1.177 (colored)

final sendfile bits
last fixups for xfs_sendfile

Revision 1.177 / (download) - annotate - [select for diffs], Mon Dec 2 05:16:48 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.176: +4 -10 lines
Diff to previous 1.176 (colored)

Cleanup after initially investigating unwritten extents.
Merge of 2.4.x-xfs:slinx:134059a by nathans.

  Fix several incorrect comments.

Revision 1.176 / (download) - annotate - [select for diffs], Wed Nov 13 21:20:37 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.175: +61 -0 lines
Diff to previous 1.175 (colored)

Add sendfile support
implement VOP_SENDFILE

Revision 1.175 / (download) - annotate - [select for diffs], Mon Nov 4 19:41:46 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.174: +0 -994 lines
Diff to previous 1.174 (colored)

break out the allocator specific parts of the xfs I/O path into
a separate file, xfs_iomap.c out of xfs_lrw.c. Remove some parts
of the code which were not doing anything for us. This is step
one in some major reorgs of this code.
Merge of 2.4.x-xfs:slinx:131524a by lord.

  move allocator based calls from here to xfs_iomap.c

Revision 1.174 / (download) - annotate - [select for diffs], Fri Oct 25 20:35:44 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.173: +0 -11 lines
Diff to previous 1.173 (colored)

remove indoe reference cache
don't call into inode refcache

Revision 1.173 / (download) - annotate - [select for diffs], Fri Oct 11 18:47:40 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.172: +111 -116 lines
Diff to previous 1.172 (colored)

merge strategy and bmap calls, they are two aspects of the same
operation.
Merge of 2.4.x-xfs:slinx:129728a by lord.

  call strategy out of bmap

Revision 1.172 / (download) - annotate - [select for diffs], Tue Oct 8 12:46:35 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.171: +11 -15 lines
Diff to previous 1.171 (colored)

Remove struct pm entirely - it was never defined in the Linux port.
Merge of 2.4.x-xfs:slinx:129236a by hch.

  Remove struct pm argument from several functions.

Revision 1.171 / (download) - annotate - [select for diffs], Sat Oct 5 17:15:44 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.170: +2 -1 lines
Diff to previous 1.170 (colored)

Check rtdev as well when testing for read-only devices
Merge of 2.4.x-xfs:slinx:129155a by sandeen.

  Check rtdev as well when testing for read-only devices

Revision 1.170 / (download) - annotate - [select for diffs], Fri Oct 4 22:09:12 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.169: +7 -31 lines
Diff to previous 1.169 (colored)

Rearrange how xfs deals with read-only mounts vs. read-only devices.
Merge of 2.4.x-xfs:slinx:129120a by sandeen.

  Remove the vfs read-only checks for various xfs operations,
  just check whether the underlying device is read-only
  in a generic way.

Revision 1.169 / (download) - annotate - [select for diffs], Fri Oct 4 21:40:02 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.168: +7 -1 lines
Diff to previous 1.168 (colored)

add some tracing calls in the read/write path

Revision 1.168 / (download) - annotate - [select for diffs], Wed Oct 2 19:45:09 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.167: +9 -0 lines
Diff to previous 1.167 (colored)

Allow quota inode creation on a read-only filesystem.
Merge of 2.4.x-xfs:slinx:128905a by sandeen.

  Add xfs_quotaino_create_read_only()

Revision 1.167 / (download) - annotate - [select for diffs], Wed Sep 25 11:08:20 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.166: +97 -49 lines
Diff to previous 1.166 (colored)

Implement readv/writev
Implement vectored I/O in xfs_read/xfs_write.

Revision 1.166 / (download) - annotate - [select for diffs], Mon Sep 16 16:10:25 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.165: +5 -1 lines
Diff to previous 1.165 (colored)

merge xfs up to 2.5.35

Revision 1.165 / (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.164: +0 -1 lines
Diff to previous 1.164 (colored)

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

  remove an unneeded #include file.

Revision 1.164 / (download) - annotate - [select for diffs], Tue Aug 27 22:32:18 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.163: +1 -1 lines
Diff to previous 1.163 (colored)

merge up to 2.5.32

Revision 1.163 / (download) - annotate - [select for diffs], Thu Aug 15 16:08:40 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.162: +10 -10 lines
Diff to previous 1.162 (colored)

Merge of 2.4.x-xfs:slinx:124892a originally by lord on 08/13/02
  rationalize xfs <-> pagebuf interface

Merge of 2.4.x-xfs:slinx:125083a originally by lord on 08/14/02
  fix unchecked pointer dereferences

Revision 1.162 / (download) - annotate - [select for diffs], Fri Aug 2 19:48:59 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.161: +10 -14 lines
Diff to previous 1.161 (colored)

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

  Make xfs_write return (-) errors and (+) bytes written.
  Fix comment on xfs_read about about return val (same as xfs_write).

Revision 1.161 / (download) - annotate - [select for diffs], Mon Jul 29 22:34:39 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.160: +42 -83 lines
Diff to previous 1.160 (colored)

make iozero work without pagebufs
Merge of 2.4.x-xfs:slinx:123789a by lord.

Revision 1.160 / (download) - annotate - [select for diffs], Tue Jul 23 17:49:16 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.159: +4 -11 lines
Diff to previous 1.159 (colored)

Merge of 2.4.x-xfs:slinx:123536a originally by sandeen on 07/23/02
  remove unused xfs_bmapi vars

Revision 1.159 / (download) - annotate - [select for diffs], Thu Jul 18 23:03:01 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.158: +1 -1 lines
Diff to previous 1.158 (colored)

Merge of 2.4.x-xfs:slinx:123240a originally by lord on 07/18/02
  do not pass sys_cred into mount/umount or sync

Revision 1.158 / (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.157: +15 -72 lines
Diff to previous 1.157 (colored)

Merge of 2.4.x-xfs:slinx:123125a originally by lord on 07/16/02
  remove some unaccessed parts of the xfs iocore

Merge of 2.4.x-xfs:slinx:123127a originally by lord on 07/16/02
  remove dead function

Revision 1.157 / (download) - annotate - [select for diffs], Mon Jul 15 13:32:21 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.156: +1 -1 lines
Diff to previous 1.156 (colored)

clean up the check frozen interface
Merge of 2.4.x-xfs:slinx:122847a by lord.

Revision 1.156 / (download) - annotate - [select for diffs], Mon Jul 15 12:07:56 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.155: +1 -1 lines
Diff to previous 1.155 (colored)

do not pass file->f_flags into check frozen
Merge of 2.4.x-xfs:slinx:122768a by lord.

Revision 1.155 / (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.154: +0 -0 lines
Diff to previous 1.154 (colored)

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

Revision 1.154 / (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.153: +109 -109 lines
Diff to previous 1.153 (colored)

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

Revision 1.153 / (download) - annotate - [select for diffs], Tue Jul 9 20:54:54 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.152: +2 -1 lines
Diff to previous 1.152 (colored)

merge up to 2.5.25

Revision 1.152 / (download) - annotate - [select for diffs], Tue Jul 9 20:13:48 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.151: +7 -7 lines
Diff to previous 1.151 (colored)

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

  rename pagebuf_iozero to xfs_iozero and change error sign to be
  positive

Revision 1.151 / (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.150: +1 -21 lines
Diff to previous 1.150 (colored)

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

  replace call to pagebuf_generic_file_write with do_generic_file_write.

Revision 1.150 / (download) - annotate - [select for diffs], Tue Jul 9 03:27:40 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.149: +102 -29 lines
Diff to previous 1.149 (colored)

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

  move pagebuf_iozero here, relocate xfs stats here, change 
  xfs_inval_cached_pages interface

Revision 1.149 / (download) - annotate - [select for diffs], Mon Jun 24 14:51:36 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.148: +0 -13 lines
Diff to previous 1.148 (colored)

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

  unifdef some dmapi calls

Revision 1.148 / (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.147: +9 -9 lines
Diff to previous 1.147 (colored)

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

  remove PBMF_NEW it was not doing any good

Revision 1.147 / (download) - annotate - [select for diffs], Mon Jun 17 15:35:55 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.146: +2 -0 lines
Diff to previous 1.146 (colored)

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

  when out of space, flush the log as well as the delalloc buffers

Revision 1.146 / (download) - annotate - [select for diffs], Thu Jun 13 20:25:33 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.145: +1 -1 lines
Diff to previous 1.145 (colored)

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

  Turn on sync writes for a filesystem mounted -o sync

Revision 1.145 / (download) - annotate - [select for diffs], Thu Jun 13 18:06:04 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.144: +4 -5 lines
Diff to previous 1.144 (colored)

remove grio code
Merge of 2.4.x-xfs:slinx:121492a by lord.

Revision 1.144 / (download) - annotate - [select for diffs], Tue Jun 11 16:05:13 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.143: +1 -1 lines
Diff to previous 1.143 (colored)

pass const pointer info down into write path
Merge of 2.4.x-xfs:slinx:121222a by lord.

Revision 1.143 / (download) - annotate - [select for diffs], Tue Jun 11 05:39:12 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.142: +0 -5 lines
Diff to previous 1.142 (colored)

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

  fix debug builds - were still refering to uiop in a couple of places.

Revision 1.142 / (download) - annotate - [select for diffs], Mon Jun 10 21:26:09 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.141: +3 -1 lines
Diff to previous 1.141 (colored)

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

  when sending a dmapi write event from xfs_write(), release the ilock
  during the event.

Revision 1.141 / (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.140: +50 -85 lines
Diff to previous 1.140 (colored)

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.140 / (download) - annotate - [select for diffs], Sat Jun 8 03:54:57 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.139: +2 -4 lines
Diff to previous 1.139 (colored)

remove unused parameter from read/write path
Merge of 2.4.x-xfs:slinx:121103a by lord.

Revision 1.139 / (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.138: +1 -1 lines
Diff to previous 1.138 (colored)

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

Revision 1.138 / (download) - annotate - [select for diffs], Thu May 30 06:47:06 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.137: +5 -9 lines
Diff to previous 1.137 (colored)

reconcile minor differences between the 2.4 and 2.5 XFS trees.

Revision 1.137 / (download) - annotate - [select for diffs], Wed May 22 15:26:34 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored)

merge up to 2.5.17

Revision 1.136 / (download) - annotate - [select for diffs], Tue May 21 20:24:04 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.135: +6 -6 lines
Diff to previous 1.135 (colored)

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

  Pass the pbtarget into the bmap structure rather than the dev_t

Revision 1.135 / (download) - annotate - [select for diffs], Tue May 21 19:57:45 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.134: +33 -129 lines
Diff to previous 1.134 (colored)

Merge of 2.4.x-xfs:slinx:119308a originally by lord on 05/16/02
  Some fixups for multiple block size support, and always use the generic
  read path.

Merge of 2.4.x-xfs:slinx:119372a originally by nathans on 05/16/02
  remove use of several xs_attr stats variables here - these crept in during
  the blocksize code merge, unintentionally.

Merge of 2.4.x-xfs:slinx:119446a originally by lord on 05/17/02
  Pass info on the expected new file size down to the allocator

Merge of 2.4.x-xfs:slinx:119562a originally by lord on 05/20/02
  remove a large chunk of dead code

Revision 1.134 / (download) - annotate - [select for diffs], Sat Apr 27 08:32:20 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

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

  pass the correct offset into bmap, ie. the one used in the original xfs_bmapi
  call.  seems to be benign though...

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

fix merge of 2.4 mod - fsync_no_super takes different parameters in 2.5

Revision 1.132 / (download) - annotate - [select for diffs], Thu Apr 18 21:38:44 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.131: +2 -3 lines
Diff to previous 1.131 (colored)

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

  In the ENOSPC loop in xfs_bmap, sync the data buffers, so that
  the worst-case reserved metadata space for delayed writes
  will be freed, and we can truly fill the filesystem.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Apr 15 00:21:00 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.130: +2 -3 lines
Diff to previous 1.130 (colored)

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

  the test in _xfs_imap_to_bmap for setting PBMF_EOF was incorrect and
  inconsistent with the same test in xfs_iomap_write_delay.  fixed.
  this doesn't affect the current code because nothing uses this yet.

Revision 1.130 / (download) - annotate - [select for diffs], Thu Mar 28 00:09:17 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.129: +17 -11 lines
Diff to previous 1.129 (colored)

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

  merge in a couple more multiple block size support changes, no difference
  for blocksize==pagesize case.

Revision 1.129 / (download) - annotate - [select for diffs], Tue Mar 26 18:37:25 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.128: +1 -1 lines
Diff to previous 1.128 (colored)

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

  Add parameter to xfs_inval_cached_pages indicating ilock state

Revision 1.128 / (download) - annotate - [select for diffs], Tue Mar 26 06:40:28 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.127: +13 -13 lines
Diff to previous 1.127 (colored)

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

  fix some compiler warnings on 64 bit platforms.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Mar 25 04:35:42 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.126: +22 -26 lines
Diff to previous 1.126 (colored)

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.126 / (download) - annotate - [select for diffs], Wed Mar 6 20:08:57 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.125: +0 -1 lines
Diff to previous 1.125 (colored)

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

  remove internal readahead reset - not used

Revision 1.125 / (download) - annotate - [select for diffs], Wed Feb 27 23:13:17 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored)

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

  Use the inode_data_buffers functions instead of the inode_buffers
  functions.

Revision 1.124 / (download) - annotate - [select for diffs], Tue Feb 26 13:53:10 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.123: +11 -40 lines
Diff to previous 1.123 (colored)

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

  Prepare pagebuf bmap to pass to pagebuf_iozero
  Don't force writing the pagebuf

Revision 1.123 / (download) - annotate - [select for diffs], Tue Feb 26 03:56:51 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.122: +9 -10 lines
Diff to previous 1.122 (colored)

Merge of 2.4.18-xfs:slinx:112528b by nathans.

  remove several no-longer-used fields (iosize) from the xfs_iocore_t.

Revision 1.122 / (download) - annotate - [select for diffs], Wed Feb 20 03:12:35 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.121: +1 -1 lines
Diff to previous 1.121 (colored)

Merge of 2.4.x-xfs:slinx:111946a originally by sandeen on 02/15/02
  Make osyncisdsync the default, osyncisosync (XFS_MOUNT_OSYNCISOSYNC)
  overrides.

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

vnode/inode layout and allocation changed

Revision 1.120 / (download) - annotate - [select for diffs], Sun Jan 13 13:14:04 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.119: +0 -2 lines
Diff to previous 1.119 (colored)

Merge pagebuf module into XFS
Merge of 2.4.x-xfs:slinx:109482a by lord.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Jan 9 22:30:35 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.118: +1 -3 lines
Diff to previous 1.118 (colored)

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

  Fix parallel direct and buffered I/O on a file, do not allow the page
  invalidate which comes out of a direct write to happen at the same time
  as a buffered read.

Revision 1.118 / (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.117: +5 -5 lines
Diff to previous 1.117 (colored)

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.117 / (download) - annotate - [select for diffs], Tue Dec 11 22:33:45 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.116: +9 -9 lines
Diff to previous 1.116 (colored)

If I build dmapi as a module then CONFIG_XFS_DMAPI won't be set--it'll
be CONFIG_XFS_DMAPI_MODULE instead.  So switch to using CONFIG_HAVE_XFS_DMAPI
to see if DMAPI is being used, whether dmapi is a module or not.
Merge of 2.4.x-xfs:slinx:107752a by lord.

  No Message Supplied

Revision 1.116 / (download) - annotate - [select for diffs], Mon Nov 5 19:02:06 2001 UTC (15 years, 11 months ago) by roehrich
Branch: MAIN
Changes since 1.115: +14 -12 lines
Diff to previous 1.115 (colored)

When CONFIG_XFS_DMAPI is set we can get into an infinite loop in xfs_write on
the "goto start".  Once savedsize is determined to be out of date we never
update it for subsequent passes (a porting bug), so we stay in the loop.  This
check shouldn't be performed unless we're calling xfs_dm_send_data_event
anyway, so move it into that if-block.  Now we don't have to update savedsize
because we get into that if-block only once per call to xfs_write, and
savedsize has no other purpose.

Revision 1.115 / (download) - annotate - [select for diffs], Fri Oct 26 19:42:54 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.114: +1 -1 lines
Diff to previous 1.114 (colored)

use i_mapping instead of i_data

Revision 1.114 / (download) - annotate - [select for diffs], Thu Oct 25 19:15:10 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.113: +7 -24 lines
Diff to previous 1.113 (colored)

fixup remount readonly code

Revision 1.113 / (download) - annotate - [select for diffs], Wed Oct 10 19:07:39 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.112: +9 -9 lines
Diff to previous 1.112 (colored)

Deal with ioflags in a cleaner manner

Revision 1.112 / (download) - annotate - [select for diffs], Tue Oct 2 22:23:13 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.111: +8 -4 lines
Diff to previous 1.111 (colored)

Fix the full filesystem delwri flush code to avoid mmap data.

Revision 1.111 / (download) - annotate - [select for diffs], Tue Oct 2 20:19:33 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.110: +1 -4 lines
Diff to previous 1.110 (colored)

yank unused "iunlock" variable (leftovers...)

Revision 1.110 / (download) - annotate - [select for diffs], Tue Sep 18 15:35:01 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

Whoops, no xfs_rw(un)lockf in Linux, just use rw(un)lock.

Revision 1.109 / (download) - annotate - [select for diffs], Tue Sep 18 15:25:44 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored)

Merge irix6.5f:irix:102838a
Replace VOP_RWUNLOCK() and VOP_RWLOCK() around call to
dm_send_namesp_event() in xfs_write() with xfs_rwunlock()
and xfs_rwlock().  Fix for bug 831289.
Also reorder xfs_rwlockf / error out condition to match irix.

Revision 1.108 / (download) - annotate - [select for diffs], Tue Sep 11 03:12:20 2001 UTC (16 years, 1 month ago) by kaos
Branch: MAIN
Changes since 1.107: +5 -5 lines
Diff to previous 1.107 (colored)

Upgrade to 2.4.10-pre8

Revision 1.107 / (download) - annotate - [select for diffs], Mon Aug 20 07:39:46 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.106: +12 -9 lines
Diff to previous 1.106 (colored)

fix up STATIC functions.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Aug 17 01:51:04 2001 UTC (16 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.105: +6 -6 lines
Diff to previous 1.105 (colored)

merge up to 2.4.9

Revision 1.105 / (download) - annotate - [select for diffs], Thu Aug 16 20:34:51 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.104: +5 -4 lines
Diff to previous 1.104 (colored)

"Merge" of irix6.5f:irix:100627b

Revision 1.104 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:39 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.103: +8 -6 lines
Diff to previous 1.103 (colored)

Pass the final inode size for a write through the zero_eof paths so that
they can pass it onto pagebuf_iozero.

Revision 1.103 / (download) - annotate - [select for diffs], Wed Jul 11 18:23:09 2001 UTC (16 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

enable some code that was commented out during the port--probably happened
at a time when some of the pieces weren't available.
This causes a reader of an offline file to give up a lock so invisible I/O
can be done by the HSM to bring that file online.

Revision 1.102 / (download) - annotate - [select for diffs], Mon Jul 9 14:40:09 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.101: +5 -1 lines
Diff to previous 1.101 (colored)

Fix error handling for O_SYNC writes

Revision 1.101 / (download) - annotate - [select for diffs], Sat Jun 9 03:23:46 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.100: +9 -1 lines
Diff to previous 1.100 (colored)

Fill in pb_dev to indicate target device for I/O

Revision 1.100 / (download) - annotate - [select for diffs], Thu May 31 17:20:34 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.99: +16 -20 lines
Diff to previous 1.99 (colored)

Tidy up some write path code to make reuse by CXFS simpler - no
functional change to XFS.

Revision 1.99 / (download) - annotate - [select for diffs], Thu May 17 02:58:46 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.98: +2 -0 lines
Diff to previous 1.98 (colored)

Add freeze syncronization point to write path

Revision 1.98 / (download) - annotate - [select for diffs], Mon May 14 21:41:20 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.97: +0 -61 lines
Diff to previous 1.97 (colored)

Fix build error - wrong code checked in.

Revision 1.97 / (download) - annotate - [select for diffs], Mon May 14 15:01:05 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.96: +6 -4 lines
Diff to previous 1.96 (colored)

Fix some log message formats

Revision 1.96 / (download) - annotate - [select for diffs], Thu May 10 14:44:32 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.95: +65 -48 lines
Diff to previous 1.95 (colored)

remove some wrapper functions which were basically one liners, call the
pagebuf functions directly instead. Also deal with the change to the
target object for metadata no longer being an inode. Use new pagebuf_lookup
function.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Apr 24 18:43:41 2001 UTC (16 years, 6 months ago) by ananth
Branch: MAIN
Changes since 1.94: +0 -66 lines
Diff to previous 1.94 (colored)

Reorganize & cleanup code.

Revision 1.94 / (download) - annotate - [select for diffs], Thu Apr 19 02:37:23 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

change XFS_STATS macro so that it doesn't rely on cpp ## to construct
individual field names for the xfsstats structure.  fixes up some gcc
compiler warnings, for recent versions of gcc.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Apr 12 13:30:45 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

fix sparc64 build

Revision 1.92 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.91: +8 -8 lines
Diff to previous 1.91 (colored)

Get rid of the last compiler warning OFF flags

Revision 1.91 / (download) - annotate - [select for diffs], Tue Apr 10 13:32:32 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.90: +2 -29 lines
Diff to previous 1.90 (colored)

remove some debug checking which we have not hit in about a year.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Apr 9 14:57:51 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.89: +5 -10 lines
Diff to previous 1.89 (colored)

change to api of pagebuf_delwri_flush

Revision 1.89 / (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.88: +96 -56 lines
Diff to previous 1.88 (colored)

fix sign problems with error returns, don't overload xfs_read,xfs_write returns
Also changed logic so we don't go through sync code after a pagebuf error

Revision 1.88 / (download) - annotate - [select for diffs], Thu Apr 5 22:25:46 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.87: +22 -31 lines
Diff to previous 1.87 (colored)

cleanup the eof hole zeroing code to be more straightforward

Revision 1.87 / (download) - annotate - [select for diffs], Tue Apr 3 16:22:18 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.86: +16 -27 lines
Diff to previous 1.86 (colored)

Less locking in the read path, cleanup lock mode calculation in the write
path and remove the PBMF_NEW flag.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.85: +1 -1 lines
Diff to previous 1.85 (colored)

support group quotas in Linux/XFS.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Mar 27 21:44:21 2001 UTC (16 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.84: +1 -1 lines
Diff to previous 1.84 (colored)

fix a compiler warning in dmapi specific code (unused var).

Revision 1.84 / (download) - annotate - [select for diffs], Wed Mar 14 23:35:05 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.83: +4 -11 lines
Diff to previous 1.83 (colored)

remove some code we do not need

Revision 1.83 / (download) - annotate - [select for diffs], Mon Mar 12 17:10:23 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.82: +2 -0 lines
Diff to previous 1.82 (colored)

Explicitly initialize pb_bn to PAGE_BUF_DADDR_NULL in the zero eof code
before calling pagebuf_iozero. The default initialization to a null
block number is gone now.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Mar 9 23:41:04 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.81: +7 -7 lines
Diff to previous 1.81 (colored)

Fix xfs_write to correctly cleanup after reference cache overflow, fixes
unmount of xfs on nfs server.

Revision 1.81 / (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.80: +23 -15 lines
Diff to previous 1.80 (colored)

Buffered read calls generic_file_read, fixes for write path and data
flushing.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Mar 6 19:44:15 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.79: +9 -1 lines
Diff to previous 1.79 (colored)

Insert inodes from nfs writes into the inode reference cache

Revision 1.79 / (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.78: +48 -17 lines
Diff to previous 1.78 (colored)

Add bounds checking for direct I/O, do the cache invalidation for
data coherency on direct I/O.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Mar 1 18:56:45 2001 UTC (16 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.77: +86 -0 lines
Diff to previous 1.77 (colored)

Real O_SYNC handling, flushes buffers & log on O_SYNC, also handles osyncisdsync mount option

Revision 1.77 / (download) - annotate - [select for diffs], Thu Mar 1 18:26:09 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.76: +25 -31 lines
Diff to previous 1.76 (colored)

Clean up the remount readonly code to do less passes and not to sleep
as long.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Feb 27 02:43:46 2001 UTC (16 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.75: +27 -13 lines
Diff to previous 1.75 (colored)

like recovery, quotacheck needs to run on a ro-mounted root fs with
write access.

Revision 1.75 / (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.74: +1 -1 lines
Diff to previous 1.74 (colored)

revert truncate_inode_pages call to its original arguments

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jan 25 21:04:55 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.73: +3 -69 lines
Diff to previous 1.73 (colored)

remove debug code.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jan 23 19:48:45 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.72: +26 -5 lines
Diff to previous 1.72 (colored)

Change strategy to atomically restrain extent conversions to the current
last block in the extents, avoiding the problem where another thread
truncates the file during the strategy call.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jan 19 21:27:41 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.71: +1 -9 lines
Diff to previous 1.71 (colored)

remove PBF_BMAP_TRY_ILOCK from xfs_bmap

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jan 19 17:10:42 2001 UTC (16 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.70: +21 -46 lines
Diff to previous 1.70 (colored)

Fold the xfs_rdwr function into the read and write path, all it was
doing was chewing up a stack frame.

Revision 1.70 / (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.69: +215 -268 lines
Diff to previous 1.69 (colored)

Rework the code for converting dealloc to real space, add xfs_strategy
to do this.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Jan 12 03:52:05 2001 UTC (16 years, 9 months ago) by dxm
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68 (colored)

change loff_t in bmap to xfs_off_t for cxfs. move vop_release.

Revision 1.68 / (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.67: +44 -12 lines
Diff to previous 1.67 (colored)

put vops back to the same as irix 

Revision 1.67 / (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.66: +2 -2 lines
Diff to previous 1.66 (colored)

use FILP_DELAY_FLAG not UIO_DELAY_FLAG

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

add parameter to VOP_TOSS_PAGES VOP_FLUSH_PAGES and VOP_FLUSHINVAL_PAGES for irix compatibility

Revision 1.65 / (download) - annotate - [select for diffs], Fri Dec 1 04:31:22 2000 UTC (16 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.64: +14 -10 lines
Diff to previous 1.64 (colored)

fix some warnings when dmapi not defined.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Nov 22 03:52:40 2000 UTC (16 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.63: +5 -26 lines
Diff to previous 1.63 (colored)

remove/fix unused variables

Revision 1.63 / (download) - annotate - [select for diffs], Sun Nov 19 16:00:38 2000 UTC (16 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62 (colored)

In xfs_iomap_write_convert fix min statement which caused us to return
zero extents sometimes.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Nov 14 22:06:59 2000 UTC (16 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 (colored)

initialize variable `fsynced' for ENOSPC error condition

Revision 1.61 / (download) - annotate - [select for diffs], Tue Nov 14 16:44:21 2000 UTC (16 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.60: +1 -1 lines
Diff to previous 1.60 (colored)

Use XFS_ERROR return macro

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

Make VOP_BMAP use the PBF_BMAP_TRY_ILOCK call directly.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Oct 9 18:27:01 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.58: +83 -2 lines
Diff to previous 1.58 (colored)

Add dmapi read/write events to the read/write path.  Steve reviewed this,
and it's been bracketed with '#ifdef CONFIG_XFS_DMAPI' at his suggestion.
add dmapi events

Revision 1.58 / (download) - annotate - [select for diffs], Fri Sep 29 19:03:03 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.57: +3 -4 lines
Diff to previous 1.57 (colored)

Merge Irix mod to Back out stripe width alignment

Revision 1.57 / (download) - annotate - [select for diffs], Thu Sep 28 04:14:43 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.56: +0 -1 lines
Diff to previous 1.56 (colored)

remove bogus, unused extern.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Sep 28 00:11:43 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.55: +0 -4 lines
Diff to previous 1.55 (colored)

remove unused headers.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.54: +3 -49 lines
Diff to previous 1.54 (colored)

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

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 5 18:37:51 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.53: +9 -10 lines
Diff to previous 1.53 (colored)

Make zero_eof I/O requests async instead of sync - we will still probably
end up waiting for one of the pages in here shortly after this, but some
cases will get faster.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 22 01:41:18 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.52: +1 -0 lines
Diff to previous 1.52 (colored)

add missing include

Revision 1.52 / (download) - annotate - [select for diffs], Fri Aug 18 22:54:04 2000 UTC (17 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.51: +56 -1 lines
Diff to previous 1.51 (colored)

Added function to write out superblock and an unmount record,
for a READONLY remount.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Aug 14 19:13:36 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Use UnlockPage rather than just clearing the locked bit - there were
a couple of these.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Aug 10 17:39:26 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.49: +8 -8 lines
Diff to previous 1.49 (colored)

Add some error trap returns in the read/write path

Revision 1.49 / (download) - annotate - [select for diffs], Wed Aug 9 18:17:45 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Use PAGE_BUF_DADDR_NULL instead of -1 for pbm_bn initialization.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 7 15:12:24 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

Make 64 bit divide and modulus operations explicit

Revision 1.47 / (download) - annotate - [select for diffs], Thu Aug 3 19:57:24 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.46: +18 -4 lines
Diff to previous 1.46 (colored)

Add some code to reject access to files which are bigger than XFS_MAX_FILE_OFFSET

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jul 18 01:41:36 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

rework the xfs stats interface to facilitate code sharing.  if there
is no interface available to export the stats (i.e. procfs), don't
bother compiling them in.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jul 3 16:46:52 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Fix bad assert and offset calculations for the case where converting
a delalloc extent takes more than 2 real extents, plus make error return
from linvfs_pb_bmap begative in error cases.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 19 15:49:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.43: +4 -1 lines
Diff to previous 1.43 (colored)

Change xfs_zero_last_block to do zeroing on delalloc pages

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 16 20:57:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.42: +4 -7 lines
Diff to previous 1.42 (colored)

In xfs_iomap_write(), roundup the allocation request to a stripe width
  iff the existing file size is already at least one stripe width, and
  we're allocating at the eof. 

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jun 16 14:46:27 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.41: +2 -11 lines
Diff to previous 1.41 (colored)

Fix incore_relse to toss rather than flush pages, this is used for
shuting down a corrupted filesystem, remove some dead code.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jun 13 17:28:47 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.40: +13 -32 lines
Diff to previous 1.40 (colored)

Simplify interface to pagebuf I/O functions for write

Revision 1.40 / (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.39: +118 -144 lines
Diff to previous 1.39 (colored)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Add the XFS_pbflush() routine.
  In xfs_trigger_io add a call to 'wake up' the
  pagebuf daemon.

Merge of 2.3.99pre2-xfs:slinx:62933a originally by cattelan on 05/26/00
  implemented the pb_iorequest call out that checks for
  a "shutdown" file system.

Merge of 2.3.99pre2-xfs:slinx:63013a originally by lord on 05/30/00
  remove pagebuf metadata config option

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:63162a originally by lord on 06/01/00
  Change bmapi calls to that conversion is done on the whole delalloc extent
  rather than just the region starting at the specified page.

Merge of 2.3.99pre2-xfs:slinx:63295a originally by nathans on 06/03/00
  change interface to (64bit) xstrat byte count.

Merge of 2.3.99pre2-xfs:slinx:63306a originally by dxm on 06/04/00
  RT/GRIO checkin

Merge of 2.3.99pre2-xfs:slinx:63345a originally by lord on 06/05/00
  Fixes for invalid bmap calculations in delalloc case.

Merge of 2.3.99pre2-xfs:slinx:63413a originally by jtk on 06/06/00
  Squash a handfull of compiler warnings.

Merge of 2.3.99pre2-xfs:slinx:63584a originally by lord on 06/07/00
  Turn back on xfs_zero_eof for delwri extents - we need to cover delwri
  extents before the end of the file with pages.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jun 9 04:33:30 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

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

  Enhance debug code.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jun 9 04:18:41 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.37: +7 -6 lines
Diff to previous 1.37 (colored)

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

  Change the position updates for case APPEND, protect via the inode lock.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jun 9 04:12:53 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.36: +1 -0 lines
Diff to previous 1.36 (colored)

fix includes
Merge of 2.3.99pre2-xfs:slinx:60309a by ananth.

Revision 1.36 / (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.35: +67 -10 lines
Diff to previous 1.35 (colored)

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

  Changes for XFS delayed allocation and page-cleaner daemon.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 9 03:47:51 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.34: +19 -1 lines
Diff to previous 1.34 (colored)

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

  new function xfs_is_read_only 

Revision 1.34 / (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.33: +38 -4 lines
Diff to previous 1.33 (colored)

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

  Update times at the start of write and at the end of read
  since we overwrite the linux inode times in revalidate. If
  we ever stop this, these calls to xfs_ichgtime should be deleted.
  In the convert path, drop the lock unless we get into xfs_iomap_convert().
  In the direct case, shring the allocation request to the size of a hole
  if we find a hole. This eliminates the case where we incorrectly
  mark PBMF_NEW when we convert a hole + allocated space into a larger
  allocated space.

Revision 1.33 / (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.32: +775 -90 lines
Diff to previous 1.32 (colored)

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

  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.32 / (download) - annotate - [select for diffs], Fri Jun 9 03:24:37 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.31: +1 -5 lines
Diff to previous 1.31 (colored)

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

  Fix VOP_FLUSH_PAGES for interface change.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jun 9 03:23:50 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored)

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

  Change xfs_zero_eof to take a vnode rather than an inode
  so that all the callers pass it the same thing!

Revision 1.30 / (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.29: +42 -1 lines
Diff to previous 1.29 (colored)

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

  On ENOSPC return from bmap call attempt different heuristics to
  make some space appear, and then return the error.

Revision 1.29 / (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.28: +4 -4 lines
Diff to previous 1.28 (colored)

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

  Fix compile warnings.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 9 02:59:25 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.27: +18 -17 lines
Diff to previous 1.27 (colored)

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

  Fix assert trip in debug kernels - some isize calculations were
  wrong - reverting to the original code here.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 9 02:52:55 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.26: +53 -8 lines
Diff to previous 1.26 (colored)

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

  Changes to get xfs-built kernel to boot.  

Revision 1.26 / (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.25: +25 -12 lines
Diff to previous 1.25 (colored)

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

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 9 02:36:05 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.24: +74 -194 lines
Diff to previous 1.24 (colored)

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

  Simplify bmap code, add support for NEW extents.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 9 02:29:42 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.23: +20 -10 lines
Diff to previous 1.23 (colored)

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.23 / (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.22: +1 -1 lines
Diff to previous 1.22 (colored)

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

  Bring XFS upto 2.3.99 (pre2).  

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jun 9 02:11:18 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored)

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

  Merge of 2.3.42-xfs:slinx:46565a by ananth.
  change buftrace to xfs_buftrace

Revision 1.21 / (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.20: +0 -1 lines
Diff to previous 1.20 (colored)

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

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

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:58 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.19: +23 -25 lines
Diff to previous 1.19 (colored)

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

  Merge of 2.3.42-xfs:slinx:46380a by ananth.
  Remove excess pagebuf_iowait() calls in the zero_eof path, implement
  clear suid on write and skip the iomap_extra call.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 9 01:16:13 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.18: +11 -4 lines
Diff to previous 1.18 (colored)

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

  Merge of 2.3.42-xfs:slinx:46362a by ananth.
  Always look up the bmap on xfs_iomap_write before trying to
  allocate. This greatly enhances performance where
  an extant extent extends beyond EOF.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 9 01:04:16 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.17: +7 -1 lines
Diff to previous 1.17 (colored)

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

  Merge of 2.3.42-xfs:slinx:45664a by ananth.
  comment out asserts about the I/O lock being held in
  the bmap path. Call into pagebuf_delwri_flush when flushing
  a filesystem out during unmount.

Revision 1.17 / (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.16: +2 -1 lines
Diff to previous 1.16 (colored)

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.16 / (download) - annotate - [select for diffs], Fri Jun 9 00:49:25 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.15: +10 -1 lines
Diff to previous 1.15 (colored)

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

  Merge of 2.3.42-xfs:slinx:44563a by ananth.
  Implement XFS_pb_target to return the dev_t from a
  pagebuf

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 9 00:46:36 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.14: +23 -24 lines
Diff to previous 1.14 (colored)

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

  Merge of 2.3.42-xfs:slinx:44267a by ananth.
  Add more pagebuf support functions for meta-data access

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 9 00:02:07 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.13: +2 -0 lines
Diff to previous 1.13 (colored)

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

  Merge of 2.3.42-xfs:slinx:43601a by ananth.
  ifdef out a line of code which did not compile when XFS
  was build using pagebufs for meta-data

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

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.12 / (download) - annotate - [select for diffs], Sat Feb 12 01:03:17 2000 UTC (17 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.11: +31 -0 lines
Diff to previous 1.11 (colored)

new functions xfs_pb_getr xfs_pb_ngetr

Revision 1.11 / (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.10: +1 -1 lines
Diff to previous 1.10 (colored)

Fix compile error when DEBUG turned on.

Revision 1.10 / (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.9: +11 -16 lines
Diff to previous 1.9 (colored)

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.9 / (download) - annotate - [select for diffs], Tue Jan 25 16:11:22 2000 UTC (17 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.8: +474 -32 lines
Diff to previous 1.8 (colored)

Add locking to xfs_read/xfs_write (iolock) since other
parts of XFS depend on this. We may want to try removing
this later.

Add the zero'ing of the last block/page and zero'ing when
the eof moves without writting data.


Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 14 19:56:15 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

Turn on more of the non-pagebuf version of the code

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jan 13 21:06:42 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.6: +13 -5 lines
Diff to previous 1.6 (colored)

We need an implementation of xfsbdstrat and xfs_bdstrat_cb for
the non-pagebuf case too!

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 13 00:29:10 2000 UTC (17 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.5: +111 -2 lines
Diff to previous 1.5 (colored)

additional functions from xfs_rw.c... not fully implemented yet.

Revision 1.5 / (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.4: +287 -375 lines
Diff to previous 1.4 (colored)

Lots of work in the write path. Also, get this to work
with page offset boundaries.

No delay allocation, everything is allocate and write
directly.

Revision 1.4 / (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.3: +536 -173 lines
Diff to previous 1.3 (colored)

Fix format of xfs_bmap/xfs_iomap_read and start doing xfs_iomap_write.
Also, we need the bsize in the pb_bmap_t to be bytes so shift by block bits.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 29 21:14:01 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.2: +315 -3 lines
Diff to previous 1.2 (colored)

New functions for pagebuf
xfs_bmap
xfs_iomap_read
works for simple case of generic_file_read

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 21 10:01:54 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.1: +23 -0 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 10 20:44:19 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN

This is where XFS' specific read/write path will live and is started.

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>