Up to [Development] / xfs-linux / linux-2.6
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.165 / (download) - annotate - [select for diffs], Thu May 8 04:06:54 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.164: +11 -6
lines
Diff to previous 1.164 (unified)
Fix fsync() b0rkage. xfs_fsync() fails to wait for data I/O completion before checking if the inode is dirty or clean to decide whether to log the inode or not. This misses inode size updates when the data flushed by the fsync() is extending the file. Hence, like fdatasync(), we need to wait for I/o completion first, then check the inode for cleanliness. Doing so makes the behaviour of xfs_fsync() identical for fsync and fdatasync and we *always* use synchronous semantics if the inode is dirty. Therefore also kill the differences and remove the unused flags from the xfs_fsync function and callers. Merge of xfs-linux-melb:xfs-kern:31033a by kenmcd. fsync and fdatasync are implemented identically now.
Revision 1.164 / (download) - annotate - [select for diffs], Tue Feb 26 03:19:24 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.163: +4 -9
lines
Diff to previous 1.163 (unified)
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.163 / (download) - annotate - [select for diffs], Wed Feb 6 03:23:32 2008 UTC (9 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.162: +1 -2
lines
Diff to previous 1.162 (unified)
Fix oops in xfs_file_readdir() When xfs_file_readdir() exactly fills a buffer, it can move it's index past the end of the buffer and dereference it even though the result of the dereference is never used. On some platforms this causes an oops. Merge of xfs-linux-melb:xfs-kern:30458a by kenmcd. Only update the current offset in xfs_file_readdir() when it is safe to do so.
Revision 1.162 / (download) - annotate - [select for diffs], Tue Jan 8 05:14:19 2008 UTC (9 years, 9 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.161: +10 -6
lines
Diff to previous 1.161 (unified)
fix unaligned access in readdir This patch should fix the issue seen on Alpha with unaligned accesses in the new readdir code. By aligning each dirent to sizeof(u64) we'll avoid unaligned accesses. To make doubly sure we're not hitting problems also rearrange struct hack_dirent to avoid holes. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30302a by kenmcd. fix unaligned access in readdir
Revision 1.161 / (download) - annotate - [select for diffs], Thu Dec 20 15:08:23 2007 UTC (9 years, 9 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.160: +1 -0
lines
Diff to previous 1.160 (unified)
Initialise current offset in xfs_file_readdir correctly After reading the directory contents into the temporary buffer, we grab each dirent and pass it to filldir witht eh current offset of the dirent. The current offset was not being set for the first dirent in the temporary buffer, which coul dresult in bad offsets being set in the f_pos field result in looping and duplicate entries being returned from readdir. Merge of xfs-linux-melb:xfs-kern:30282a by kenmcd. Initialise the curr_offset correctly for the first dirent in each temp buffer during readdir.
Revision 1.160 / (download) - annotate - [select for diffs], Thu Dec 13 05:18:26 2007 UTC (9 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.159: +2 -2
lines
Diff to previous 1.159 (unified)
Put the correct offset in dirent d_off The recent filldir regression fix was not putting the correct d_off in each dirent. This was resulting in incorrect cookies being passed to dmapi ioctls and the wrong offset appearing in the dirents. readdir was unaffected as the filp->f_pos was being updated with the correct offset and this was being written into the last dirent in each buffer. Fix the XFS code to do the right thing. Merge of xfs-linux-melb:xfs-kern:30240a by kenmcd. Update filp->f_pos correctly now that we pass the current offset with each dirent to filldir.
Revision 1.159 / (download) - annotate - [select for diffs], Thu Dec 6 15:07:39 2007 UTC (9 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.158: +124 -0
lines
Diff to previous 1.158 (unified)
revert to double-buffering readdir The current readdir implementation deadlocks on a btree buffers locks because nfsd calls back into ->lookup from the filldir callback. The only short-term fix for this is to revert to the old inefficient double-buffering scheme. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30201a by kenmcd. revert the readdir code to using double buffering to work around a deadlock with nfsd calling back into the lookup code from filldir.
Revision 1.158 / (download) - annotate - [select for diffs], Wed Sep 12 16:25:51 2007 UTC (10 years, 1 month ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.157: +4 -3
lines
Diff to previous 1.157 (unified)
Fix up dmapi breakage after rc4 merge Merge of xfs-linux-melb:xfs-kern:29666a by kenmcd.
Revision 1.157 / (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.156: +13 -41
lines
Diff to previous 1.156 (unified)
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.156 / (download) - annotate - [select for diffs], Fri Aug 24 16:16:26 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.155: +10 -10
lines
Diff to previous 1.155 (unified)
kill the vfs_flags member in struct bhv_vfs All flags are added to xfs_mount's m_flag instead. Note that the 32bit inode flag was duplicated in both of them, but only cleared in the mount when it was not nessecary due to the filesystem beeing small enough. Two flags are still required here - one to indicate the mount option setting, and one to indicate if it applies or not. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29507a by kenmcd. move vfs_flags to xfs_mount.
Revision 1.155 / (download) - annotate - [select for diffs], Fri Aug 24 16:06:08 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.154: +3 -7
lines
Diff to previous 1.154 (unified)
kill the v_flag member in struct bhv_vnode All flags previous handled at the vnode level are not in the xfs_inode where we already have a flags mechanisms and free bits for flags previously in the vnode. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29495a by kenmcd. move vnode flags to xfs inode.
Revision 1.154 / (download) - annotate - [select for diffs], Fri Aug 24 16:05:15 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.153: +18 -21
lines
Diff to previous 1.153 (unified)
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.153 / (download) - annotate - [select for diffs], Fri Aug 24 16:04:16 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.152: +25 -32
lines
Diff to previous 1.152 (unified)
call common xfs vnode-level helpers directly and remove vnode operations Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29493a by kenmcd. remove vnode operations.
Revision 1.152 / (download) - annotate - [select for diffs], Thu Aug 23 15:57:59 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.151: +22 -66
lines
Diff to previous 1.151 (unified)
use filldir internally Currently xfs has a rather complicated internal scheme to allow for different directory formats in IRIX. This patch rips all code related to this out and pushes useage of the Linux filldir callback into the lowlevel directory code. This does not make the code any less portable because filldir can be used to create dirents of all possible variations (including the IRIX ones as proved by the IRIX binary emulation code under arch/mips/). This patch get rid of an unessecary copy in the readdir path, about 400 lines of code and one of the last two users of the uio structure. This version is updated to deal with dmapi aswell which greatly simplifies the get_dirattrs code. The dmapi part has been tested using the get_dirattrs tools from the xfstest dmapi suite1 with various small and large directories. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29478a by kenmcd. Use the generic filldir directory formatter callbacks rather than the complex xfs_uio_move based implementation. Removes a copy and simplifies the code greatly.
Revision 1.151 / (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.150: +1 -1
lines
Diff to previous 1.150 (unified)
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.150 / (download) - annotate - [select for diffs], Mon Jul 16 15:45:28 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.149: +16 -0
lines
Diff to previous 1.149 (unified)
Implement ->page_mkwrite in XFS. Hook XFS up to ->page_mkwrite to ensure that we know about mmap pages being written to. This allows use to do correct delayed allocation and ENOSPC checking as well as remap unwritten extents so that they get converted correctly during writeback. This is done via the generic block_page_mkwrite code. Merge of xfs-linux-melb:xfs-kern:29149a by kenmcd. Connect ->page_mkwrite to the generic block_page_mkwrite implementation.
Revision 1.149 / (download) - annotate - [select for diffs], Wed Jun 20 15:52:30 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.148: +0 -11
lines
Diff to previous 1.148 (unified)
XFS should not be looking at filp reference counts A check for file_count is always a bad idea. Linux has the ->release method to deal with cleanups on last close and ->flush is only for the very rare case where we want to perform an operation on every drop of a reference to a file struct. This patch gets rid of vop_close and surrounding code in favour of simply doing the page flushing from ->release. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:28952a by kenmcd. Kill xfs_file_flush as xfs_file_release provides us with the required last-close callout.
Revision 1.148 / (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.147: +14 -14
lines
Diff to previous 1.147 (unified)
Merge up to 2.6.20-rc4 Merge of xfs-linux-melb:xfs-kern:27915a by kenmcd.
Revision 1.147 / (download) - annotate - [select for diffs], Tue Dec 12 02:57:21 2006 UTC (10 years, 10 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.146: +9 -9
lines
Diff to previous 1.146 (unified)
Fix XFS to include DMAPI specific code in both cases of including DMAPI, as a module or statically linked with kernel. Merge of xfs-linux-melb:xfs-kern:27696a by kenmcd. pv 959109, rv dgc - CONFIG_XFS_DMAPI is used as both - environment var and compile time def. Change it to HAVE_DMAPI fro compile time def.
Revision 1.146 / (download) - annotate - [select for diffs], Thu Nov 30 14:40:05 2006 UTC (10 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.145: +2 -2
lines
Diff to previous 1.145 (unified)
Keep stack usage down for 4k stacks by using noinline. gcc-4.1 and more recent aggressively inline static functions which increases XFS stack usage by ~15% in critical paths. Prevent this from occurring by adding noinline to the STATIC definition. Also uninline some functions that are too large to be inlined and were causing problems with CONFIG_FORCED_INLINING=y. Finally, clean up all the different users of inline, __inline and __inline__ and put them under one STATIC_INLINE macro. For debug kernels the STATIC_INLINE macro uninlines those functions. Merge of xfs-linux-melb:xfs-kern:27585a by kenmcd. noinline static function declaration cleanup.
Revision 1.145 / (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.144: +23 -117
lines
Diff to previous 1.144 (unified)
Merge up to 2.6.19-rc3 Merge of xfs-linux-melb:xfs-kern:27325a by kenmcd.
Revision 1.144 / (download) - annotate - [select for diffs], Fri Oct 13 16:13:54 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.143: +3 -2
lines
Diff to previous 1.143 (unified)
Merge up to 2.6.18 Merge of xfs-linux-melb:xfs-kern:27192a by kenmcd.
Revision 1.143 / (download) - annotate - [select for diffs], Mon Jun 26 03:50:08 2006 UTC (11 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.142: +1 -2
lines
Diff to previous 1.142 (unified)
Undoes mod: xfs-linux-melb:xfs-kern:26344a Back this one out until 2.6.18, where flush prototype change needed. Merge of xfs-linux-melb:xfs-kern:26345a by kenmcd.
Revision 1.142 / (download) - annotate - [select for diffs], Mon Jun 26 03:49:24 2006 UTC (11 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.141: +2 -1
lines
Diff to previous 1.141 (unified)
Update flush method prototype. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Merge of xfs-linux-melb:xfs-kern:26344a by kenmcd. Update flush method prototype.
Revision 1.141 / (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.140: +0 -2
lines
Diff to previous 1.140 (unified)
Remove version 1 directory code. Never functioned on Linux, just pure bloat. Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.
Revision 1.140 / (download) - annotate - [select for diffs], Thu Jun 15 03:54:32 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.139: +9 -14
lines
Diff to previous 1.139 (unified)
Remove unnecessary local from open_exec dmapi path. Merge of xfs-linux-melb:xfs-kern:26247a by kenmcd.
Revision 1.139 / (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.138: +43 -75
lines
Diff to previous 1.138 (unified)
Resolve a namespace collision on vnode/vnodeops for FreeBSD porters. Merge of xfs-linux-melb:xfs-kern:26107a by kenmcd.
Revision 1.138 / (download) - annotate - [select for diffs], Tue May 30 15:51:09 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.137: +15 -1
lines
Diff to previous 1.137 (unified)
Start writeout earlier (on last close) in the case where we have a truncate down followed by delayed allocation (buffered writes) - worst case scenario for the notorious NULL files problem. This reduces the window where we are exposed to that problem significantly. Merge of xfs-linux-melb:xfs-kern:26100a by kenmcd.
Revision 1.137 / (download) - annotate - [select for diffs], Mon May 29 15:50:44 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.136: +1 -5
lines
Diff to previous 1.136 (unified)
Fix mismerge of a mainline change. Merge of xfs-linux-melb:xfs-kern:26077a by kenmcd.
Revision 1.136 / (download) - annotate - [select for diffs], Mon May 29 15:50:00 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.135: +3 -3
lines
Diff to previous 1.135 (unified)
Merge back the const struct file_operations change from mainline. Merge of xfs-linux-melb:xfs-kern:26075a by kenmcd.
Revision 1.135 / (download) - annotate - [select for diffs], Mon May 29 15:49:16 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.134: +88 -32
lines
Diff to previous 1.134 (unified)
Merge back the splice support code I added directly into mainline. Merge of xfs-linux-melb:xfs-kern:26074a by kenmcd.
Revision 1.134 / (download) - annotate - [select for diffs], Fri May 12 15:24:03 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.133: +3 -17
lines
Diff to previous 1.133 (unified)
Fix a noatime regression related to updating inode atime field on mmap only. Merge of xfs-linux-melb:xfs-kern:25922a by kenmcd.
Revision 1.133 / (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.132: +15 -15
lines
Diff to previous 1.132 (unified)
Complete transition away from linvfs naming convention, finally. Merge of xfs-linux-melb:xfs-kern:25474a by kenmcd.
Revision 1.132 / (download) - annotate - [select for diffs], Fri Mar 10 14:23:13 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.131: +14 -28
lines
Diff to previous 1.131 (unified)
Revert kiocb and vattr stack changes, theory is the AIO rework will help here and vattr may be small enough. Merge of xfs-linux-melb:xfs-kern:25423a by kenmcd.
Revision 1.131 / (download) - annotate - [select for diffs], Mon Mar 6 14:20:06 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.130: +70 -70
lines
Diff to previous 1.130 (unified)
Switch over from linvfs names for file operations for consistent naming. Merge of xfs-linux-melb:xfs-kern:25379a by kenmcd.
Revision 1.130 / (download) - annotate - [select for diffs], Mon Mar 6 02:45:14 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.129: +9 -4
lines
Diff to previous 1.129 (unified)
Dynamically allocate vattr in places it makes sense to do so, to reduce stack use. Also re-use vattr in some places so that multiple copies are not held on-stack. Merge of xfs-linux-melb:xfs-kern:25369a by kenmcd.
Revision 1.129 / (download) - annotate - [select for diffs], Fri Mar 3 05:00:41 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.128: +22 -12
lines
Diff to previous 1.128 (unified)
Dynamically allocate local kiocb structures in readv/writev routines to reduce stack footprint. Merge of xfs-linux-melb:xfs-kern:25358a by kenmcd.
Revision 1.128 / (download) - annotate - [select for diffs], Mon Dec 19 19:00:32 2005 UTC (11 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.127: +2 -4
lines
Diff to previous 1.127 (unified)
add helper to get xfs_inode from vnode
Revision 1.127 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.126: +12 -26
lines
Diff to previous 1.126 (unified)
Update license/copyright notices to match the prefered SGI boilerplate. Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.
Revision 1.126 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.125: +3 -2
lines
Diff to previous 1.125 (unified)
Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot. Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.
Revision 1.125 / (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.124: +2 -41
lines
Diff to previous 1.124 (unified)
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.124 / (download) - annotate - [select for diffs], Wed May 18 01:16:10 2005 UTC (12 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.123: +0 -5
lines
Diff to previous 1.123 (unified)
remove dmapi event from linvfs_file_mmap, let linvfs_filemap_nopage take it
Revision 1.123 / (download) - annotate - [select for diffs], Mon May 9 16:01:44 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.122: +0 -3
lines
Diff to previous 1.122 (unified)
fix non-dmapi builds linvfs_mprotect exists only in dmapi builds
Revision 1.122 / (download) - annotate - [select for diffs], Fri May 6 13:09:21 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.121: +2 -4
lines
Diff to previous 1.121 (unified)
fix nopage prototype
Revision 1.121 / (download) - annotate - [select for diffs], Tue May 3 18:05:45 2005 UTC (12 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.120: +47 -3
lines
Diff to previous 1.120 (unified)
send dmapi events from nopage for mmapped files
Revision 1.120 / (download) - annotate - [select for diffs], Tue May 3 18:03:41 2005 UTC (12 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.119: +3 -24
lines
Diff to previous 1.119 (unified)
Undo xfs-linux:xfs-kern:190622a
Revision 1.119 / (download) - annotate - [select for diffs], Fri Apr 22 14:57:12 2005 UTC (12 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.118: +41 -2
lines
Diff to previous 1.118 (unified)
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.118 / (download) - annotate - [select for diffs], Wed Apr 6 15:22:09 2005 UTC (12 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.117: +24 -3
lines
Diff to previous 1.117 (unified)
coordinate mmap calls with xfs_dm_punch_hole Add linvfs_mmap_close() to intercept close events from vm_operations_struct. In linvfs_file_mmap(), if DMI, then set vm_ops to linvfs_dmapi_file_vm_ops.
Revision 1.117 / (download) - annotate - [select for diffs], Fri Mar 11 15:24:39 2005 UTC (12 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.116: +1 -1
lines
Diff to previous 1.116 (unified)
linvfs_file_mmap was incorrectly flipping sign of XFS_SEND_MMAP
Revision 1.116 / (download) - annotate - [select for diffs], Fri Mar 11 13:52:58 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.115: +5 -2
lines
Diff to previous 1.115 (unified)
Fix directory inodes ioctl compat code, minor code consistency cleanups. Merge of xfs-linux-melb:xfs-kern:21810a by kenmcd.
Revision 1.115 / (download) - annotate - [select for diffs], Thu Mar 10 14:03:20 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.114: +2 -2
lines
Diff to previous 1.114 (unified)
Compat/non-BKL ioctl transition, merged back via mainline from ak@suse.de. Merge of xfs-linux-melb:xfs-kern:21803a by kenmcd.
Revision 1.114 / (download) - annotate - [select for diffs], Thu Mar 10 14:02:40 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.113: +14 -11
lines
Diff to previous 1.113 (unified)
Compat/non-BKL ioctl transition, merged back via mainline from ak@suse.de. Merge of xfs-linux-melb:xfs-kern:21800a by kenmcd.
Revision 1.113 / (download) - annotate - [select for diffs], Thu Mar 10 05:08:24 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.112: +1 -0
lines
Diff to previous 1.112 (unified)
Add MAP_POPULATE/sys_remap_file_pages support to XFS. Merge of xfs-linux-melb:xfs-kern:21796a by kenmcd.
Revision 1.112 / (download) - annotate - [select for diffs], Thu Feb 3 22:29:15 2005 UTC (12 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.111: +1 -1
lines
Diff to previous 1.111 (unified)
Update copyright to 2005 copyright to 2005
Revision 1.111 / (download) - annotate - [select for diffs], Wed Jan 26 19:19:10 2005 UTC (12 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.110: +35 -0
lines
Diff to previous 1.110 (unified)
dmapi - Execution of an offline script or binary fails. If a user thread is trying to execute the file that is offline then the HSM won't get write access when it attempts invisible I/O to bring it online because the user thread has already denied write access...but that thread is waiting for us to write the file.... So add a callout from open_exec() to give DMAPI an early notice that the file must be online. Add linvfs_open_exec, and put it linvfs_file_operations.
Revision 1.110 / (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.109: +12 -12
lines
Diff to previous 1.109 (unified)
Make IO work again add a flag to VOP_READ/VOP_WRITE to tell whether we are AIO
Revision 1.109 / (download) - annotate - [select for diffs], Tue Oct 26 22:56:13 2004 UTC (12 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.108: +2 -2
lines
Diff to previous 1.108 (unified)
remove useless S_ISREG check in ->mmap and ->mprotect remove check for regular files in linvfs_mmap and linvfs_mprotect
Revision 1.108 / (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.107: +4 -22
lines
Diff to previous 1.107 (unified)
Merge back Christophs buffered/direct locking fixes. Merge of xfs-linux-melb:xfs-kern:19638a by kenmcd.
Revision 1.107 / (download) - annotate - [select for diffs], Wed Sep 15 17:59:26 2004 UTC (13 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.106: +2 -0
lines
Diff to previous 1.106 (unified)
Need to vn_revalidate after dm_set_fileattr Add vn_revalidate in linvfs_file_mmap
Revision 1.106 / (download) - annotate - [select for diffs], Wed Aug 25 23:24:33 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.105: +1 -1
lines
Diff to previous 1.105 (unified)
Fix incorrect sparse annotation for sendfile operation. Fix from Al Viro.
Revision 1.105 / (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.104: +8 -8
lines
Diff to previous 1.104 (unified)
Use sparse whitespace approach that Al took to be more consistent. Couple more sparse fixes.
Revision 1.104 / (download) - annotate - [select for diffs], Mon Jun 28 10:11:58 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.103: +5 -5
lines
Diff to previous 1.103 (unified)
sparse: annotate vfs interfaces for user pointers. From Chris Wedgwood.
Revision 1.103 / (download) - annotate - [select for diffs], Fri Jun 4 06:33:25 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.102: +6 -2
lines
Diff to previous 1.102 (unified)
No longer hold the BKL for the entire ioctl operation, its not needed here.
Revision 1.102 / (download) - annotate - [select for diffs], Thu May 20 00:42:35 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.101: +3 -3
lines
Diff to previous 1.101 (unified)
Fix sendfile return code to be ssize_t in all places.
Revision 1.101 / (download) - annotate - [select for diffs], Thu Apr 22 19:50:56 2004 UTC (13 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.100: +0 -1
lines
Diff to previous 1.100 (unified)
Remove <linux/mman.h> now that linvfs_mprotect doesn't need it. Remove <linux/mman.h>
Revision 1.100 / (download) - annotate - [select for diffs], Wed Apr 21 19:51:13 2004 UTC (13 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.99: +1 -1
lines
Diff to previous 1.99 (unified)
Fix dmapi/mprotect interaction 2.6 vm_flags uses VM_* symbols now
Revision 1.99 / (download) - annotate - [select for diffs], Wed Mar 10 12:47:17 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.98: +23 -22
lines
Diff to previous 1.98 (unified)
use ssize_t to store VOP_READ/VOP_WRITE return value
Revision 1.98 / (download) - annotate - [select for diffs], Mon Feb 9 04:40:39 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.97: +3 -3
lines
Diff to previous 1.97 (unified)
Use the f_mapping file interface, on Andrews instruction. Trivial change.
Revision 1.97 / (download) - annotate - [select for diffs], Wed Oct 8 18:40:57 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.96: +132 -21
lines
Diff to previous 1.96 (unified)
remove FINVIS from xfs, instead use a seperate file ops vector for files which are opened for invisible I/O. Merge of xfs-linux:slinx:159680a by lord. add a new file ops vector for files opened with a request for invisible I/O.
Revision 1.96 / (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.95: +25 -11
lines
Diff to previous 1.95 (unified)
cleanup uio use some more Merge of xfs-linux:slinx:159633a by lord.
Revision 1.95 / (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.94: +25 -15
lines
Diff to previous 1.94 (unified)
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.94 / (download) - annotate - [select for diffs], Wed Aug 6 14:34:47 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.93: +7 -3
lines
Diff to previous 1.93 (unified)
get version 1 directories back into action Merge of 2.4.x-xfs-kern:slinx:155149a by lord.
Revision 1.93 / (download) - annotate - [select for diffs], Tue Jul 29 16:36:20 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.92: +1 -1
lines
Diff to previous 1.92 (unified)
fix merge error
Revision 1.92 / (download) - annotate - [select for diffs], Tue Jul 29 16:33:46 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.91: +72 -73
lines
Diff to previous 1.91 (unified)
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. lip over to using the aio interface for read write. Change the next layer down to take an iocb instead of a file pointer.
Revision 1.91 / (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.90: +22 -1
lines
Diff to previous 1.90 (unified)
Merge the header file stuff over Merge of 2.4.x-xfs:slinx:147627a originally by cattelan on 05/01/03 Rework the way xfs includes xfs_<blah>.h headers. This reduces a lot of the compile dependenciesÂ, and should reduce some of the "recompile all" situations.
Revision 1.90 / (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.89: +2 -2
lines
Diff to previous 1.89 (unified)
Whitespace cleanup Merge whitespace cleanup to 2.5 tree Merge of 2.4.x-xfs:slinx:144573a by cattelan. Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)
Revision 1.89 / (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.88: +7 -3
lines
Diff to previous 1.88 (unified)
Separate the quota source into its own subdirectory ala dmapi. Push a bunch of quota- and dmapi-specific code down into these subdirs which previously was compiled into the core XFS code, and don't descend into these subdirs if options config'd off. Merge of 2.4.x-xfs:slinx:141850a by nathans. Separate the quota source into its own subdirectory ala dmapi. Push a bunch of quota- and dmapi-specific code down into these subdirs which previously was compiled into the core XFS code, and don't descend into these subdirs if options config'd off.
Revision 1.88 / (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.87: +0 -2
lines
Diff to previous 1.87 (unified)
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.87 / (download) - annotate - [select for diffs], Thu Mar 13 21:24:07 2003 UTC (14 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.86: +0 -1
lines
Diff to previous 1.86 (unified)
linvfs_file_mmap was updating the linux inode's atime twice. Merge of 2.4.x-xfs:slinx:141360a by hch. remove UPDATE_ATIME from linvfs_file_mmap--it's already done in VOP_SETATTR(XFS_AT_UPDATIME).
Revision 1.86 / (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.85: +7 -9
lines
Diff to previous 1.85 (unified)
Next step in bhv code cleanup - this is a start on moving quota and dmapi into behavior layers, purging several points where these sit slap bang in the middle of XFS code (esp. read_super). Also removes numerous #ifdef's and a bunch of unused #define's from all over the place. More to come. Merge of 2.4.x-xfs:slinx:141499a by nathans.
Revision 1.85 / (download) - annotate - [select for diffs], Wed Feb 26 17:29:06 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.84: +2 -2
lines
Diff to previous 1.84 (unified)
prevent readdir from returning offsets of more than 2^31, these confuse user space. This limits the maximum amount of names in a directory on linux to 2Gbytes, which should not be a problem. Merge of 2.4.x-xfs:slinx:135044a by lord. Merge of 2.4.x-xfs-dev:slinx:135044a by lord. mask off the top bit of the directory offset, we can use 2^32-1 as an eof marker and it confuses linux user space sometimes.
Revision 1.84 / (download) - annotate - [select for diffs], Wed Feb 26 17:15:24 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.83: +6 -5
lines
Diff to previous 1.83 (unified)
rework readdir to be closer to the irix model internally, do all the filldir fixup at the linvfs layer. This is the V2 directory component, the V1 code still needs fixing up. We now return the same directory offsets as Irix does. Merge of 2.4.x-xfs:slinx:134646a by lord. Merge of 2.4.x-xfs-dev:slinx:134646a by lord. do directory offset fixup in linvfs_readdir
Revision 1.83 / (download) - annotate - [select for diffs], Tue Nov 19 12:58:07 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.82: +2 -2
lines
Diff to previous 1.82 (unified)
fix some broken off_t use Merge of 2.4.x-xfs:slinx:133435a by hch. always use xfs_off_t instead of off_t
Revision 1.82 / (download) - annotate - [select for diffs], Wed Nov 13 23:44:16 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.81: +0 -0
lines
Diff to previous 1.81 (unified)
Undoes mod: 2.4.x-xfs:slinx:132930a Rethink some of those recent types changes slightly. Merge of 2.4.x-xfs:slinx:132993a by nathans.
Revision 1.81 / (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.80: +17 -0
lines
Diff to previous 1.80 (unified)
Add sendfile support implement linvfs_sendfile
Revision 1.80 / (download) - annotate - [select for diffs], Wed Nov 13 02:43:25 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.79: +2 -2
lines
Diff to previous 1.79 (unified)
Change AT_* to XFS_AT_* to prevent namespace collisions; move some type declarations into more appropriate places. Merge of 2.4.x-xfs:slinx:132930a by nathans. Change AT_* to XFS_AT_* to prevent namespace collisions.
Revision 1.79 / (download) - annotate - [select for diffs], Wed Oct 16 14:10:18 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.78: +28 -0
lines
Diff to previous 1.78 (unified)
add synch I/O entry points Although we're not actually asynch yet we implement the AIO interface now. This is not different from all the other filesystems that use the generic_file_* rountines, which are still synch either. Unlike the simple filesystems that call directly into generic_file_* XFS will need updates to the inode locking to be actually async even after those are changed. implement linvfs_aio_read and linvfs_aio_write
Revision 1.78 / (download) - annotate - [select for diffs], Wed Sep 25 11:08:20 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.77: +56 -48
lines
Diff to previous 1.77 (unified)
Implement readv/writev Add readv/writev file operations. Make read/write wrappers around those.
Revision 1.77 / (download) - annotate - [select for diffs], Fri Aug 2 17:52:14 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.76: +1 -2
lines
Diff to previous 1.76 (unified)
remove some dead vop arguments Merge of 2.4.x-xfs:slinx:123986a by lord.
Revision 1.76 / (download) - annotate - [select for diffs], Thu Jul 25 18:50:28 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.75: +2 -2
lines
Diff to previous 1.75 (unified)
Merge of 2.4.x-xfs:slinx:123567a originally by roehrich on 07/23/02 From Chris Hellwig: * CONFIG_XFS_DMAPI is now a dep_mbool on CONFIG_XFS_FS, fs/xfs_dmapi/ is entered based on CONFIG_XFS_FS if CONFIG_XFS_DMAPI is set to keep the old behaviour. * CONFIG_HAVE_XFS_DMAPI is gone, as CONFIG_XFS_DMAPI has the same meaning now. * we refuse to mount with dmapi/xdsm options now if we can't support it. * this way the dmapi_mount vfs method can't be called without dmapi support anymore. declare the two dmapi-related vfs methods only if we build with dmapi support. * fs/xfs/xfsdmapistubs.c is gone, all stubs for XFS-own dmapi-related functions are inlines in xfs_dmapi.h now. * xfs_dmapi_mmap_event is renamed to xfs_dm_send_mmap_event to match the other xfs_dm_send_* functions No Message Supplied
Revision 1.75 / (download) - annotate - [select for diffs], Mon Jul 22 21:50:44 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.74: +1 -1
lines
Diff to previous 1.74 (unified)
kill LINVFS_GET_VPTR Merge of 2.4.x-xfs:slinx:123488a by sandeen.
Revision 1.74 / (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.73: +14 -14
lines
Diff to previous 1.73 (unified)
Merge of 2.4.x-xfs:slinx:123241a originally by sandeen on 07/18/02 update Designated initializer format
Revision 1.73 / (download) - annotate - [select for diffs], Mon Jul 15 15:34:59 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.72: +2 -3
lines
Diff to previous 1.72 (unified)
kill get_current_cred() Merge of 2.4.x-xfs:slinx:122955a by lord.
Revision 1.72 / (download) - annotate - [select for diffs], Mon Jul 15 13:17:41 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.71: +42 -49
lines
Diff to previous 1.71 (unified)
Patch from Christoph Hellwig. Summary: * ->mprotect is not an operation on the fd but the vma, make it a VM operation instead of file operation * remove file argument from ->mprotect - it's always vma->vm_file * define HAVE_VMOP_MPROTECT and make ->mprotect conditional on it * simplify ->mmap, calling generic_file_mmap is pointless. * rename linvfs_generic_file_mmap to linvfs_file_mmap * add missing externs in xfs_dmapi.h Merge of 2.4.x-xfs:slinx:122842a by lord.
Revision 1.71 / (download) - annotate - [select for diffs], Mon Jul 15 12:31:56 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.70: +22 -54
lines
Diff to previous 1.70 (unified)
Merge of 2.4.x-xfs:slinx:122771a by lord. Remove linvfs_dmapi_map_event(). Add linvfs_mprotect(). Change linvfs_generic_file_mmap() to check for dmapi permission _before_ doing the generic_file_mmap()...not much point in doing it after.
Revision 1.70 / (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.69: +16 -16
lines
Diff to previous 1.69 (unified)
whitespace cleanup Merge of 2.4.x-xfs:slinx:122792a by sandeen.
Revision 1.69 / (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.68: +10 -86
lines
Diff to previous 1.68 (unified)
Merge of 2.4.x-xfs:slinx:122679a by lord. since we now call the generic write path in xfs remove the checks here which duplicate its functionality. Grab the i_sem lock in the non O_DIRECT case, we need it in the vmtruncate call out of do_generic_file_write.
Revision 1.68 / (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.67: +0 -11
lines
Diff to previous 1.67 (unified)
Merge of 2.4.x-xfs:slinx:122666a by lord. move xfs stats into xfs
Revision 1.67 / (download) - annotate - [select for diffs], Mon Jul 8 19:40:22 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.66: +2 -3
lines
Diff to previous 1.66 (unified)
remove some unused cred structs from the stack Merge of 2.4.x-xfs:slinx:122363a by lord.
Revision 1.66 / (download) - annotate - [select for diffs], Tue Jun 11 15:55:09 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.65: +1 -1
lines
Diff to previous 1.65 (unified)
Merge of 2.4.x-xfs:slinx:121220a by lord. fix a type cast on filldir
Revision 1.65 / (download) - annotate - [select for diffs], Tue Jun 11 12:38:47 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.64: +1 -0
lines
Diff to previous 1.64 (unified)
Merge of 2.4.x-xfs:slinx:121206a by lord. fix O_APPEND writes
Revision 1.64 / (download) - annotate - [select for diffs], Tue Jun 11 12:29:48 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.63: +1 -1
lines
Diff to previous 1.63 (unified)
small cleanups Merge of 2.4.x-xfs:slinx:121176a by lord.
Revision 1.63 / (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.62: +6 -29
lines
Diff to previous 1.62 (unified)
Merge of 2.4.x-xfs:slinx:121145a by lord. kill the use of a uio_t on the read/write path, it was just overhead
Revision 1.62 / (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.61: +2 -2
lines
Diff to previous 1.61 (unified)
remove unused parameter from read/write path Merge of 2.4.x-xfs:slinx:121103a by lord.
Revision 1.61 / (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.60: +1 -1
lines
Diff to previous 1.60 (unified)
Update copyright dates Merge of 2.4.x-xfs:slinx:120763a by sandeen.
Revision 1.60 / (download) - annotate - [select for diffs], Fri Mar 15 18:12:23 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.59: +6 -5
lines
Diff to previous 1.59 (unified)
Merge of 2.4.x-xfs:slinx:114230a by lord. Fix the sign of the majority of error returns
Revision 1.59 / (download) - annotate - [select for diffs], Thu Mar 14 20:14:54 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.58: +3 -0
lines
Diff to previous 1.58 (unified)
Merge of 2.4.x-xfs:slinx:114164a by lord. Make open on an xfs filesystem report EFBIG if an inode is too large for a non O_LARGEFILE open.
Revision 1.58 / (download) - annotate - [select for diffs], Fri Jan 25 02:21:03 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.57: +84 -87
lines
Diff to previous 1.57 (unified)
Merge of 2.4.x-xfs:slinx:110226b by nathans. a couple of additional checks are now made on the generic file write path which we didn't have in the XFS write code - add em, and make the function declarations consistent across the file.
Revision 1.57 / (download) - annotate - [select for diffs], Tue Jan 22 19:16:42 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.56: +1 -0
lines
Diff to previous 1.56 (unified)
Merge of 2.4.x-xfs:slinx:109992b by sandeen. Use generic_file_llseek for the seek: method (default_llseek doesn't do size checking)
Revision 1.56 / (download) - annotate - [select for diffs], Wed Jan 9 05:59:58 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.55: +15 -25
lines
Diff to previous 1.55 (unified)
Merge of 2.4.x-xfs:slinx:109271a by nathans. remove a check which is always done higher up in the VFS code. minor formatting fixup.
Revision 1.55 / (download) - annotate - [select for diffs], Tue Dec 11 22:42:32 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.54: +5 -6
lines
Diff to previous 1.54 (unified)
Merge of 2.4.x-xfs:slinx:107944a by lord. linvfs_dmapi_map_event() should bypass the data structure for xfs_dm_fcntl() since we're no longer using it.
Revision 1.54 / (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.53: +3 -3
lines
Diff to previous 1.53 (unified)
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.53 / (download) - annotate - [select for diffs], Thu Nov 8 01:49:09 2001 UTC (15 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.52: +1 -1
lines
Diff to previous 1.52 (unified)
Make references to CONFIG_XFS_DMAPI consistent
Revision 1.52 / (download) - annotate - [select for diffs], Fri Nov 2 04:51:40 2001 UTC (15 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.51: +0 -2
lines
Diff to previous 1.51 (unified)
Revert one CONFIG_XFS_DMAPI change
Revision 1.51 / (download) - annotate - [select for diffs], Fri Nov 2 04:39:46 2001 UTC (15 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.50: +4 -0
lines
Diff to previous 1.50 (unified)
Allow for XFS compile without any dmapi patch
Revision 1.50 / (download) - annotate - [select for diffs], Fri Oct 26 19:40:59 2001 UTC (15 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.49: +2 -0
lines
Diff to previous 1.49 (unified)
Fix build in non dmapi case
Revision 1.49 / (download) - annotate - [select for diffs], Fri Oct 26 15:14:10 2001 UTC (15 years, 11 months ago) by roehrich
Branch: MAIN
Changes since 1.48: +60 -0
lines
Diff to previous 1.48 (unified)
This makes the linux dmapi match the irix dmapi behavior. We ignore whether or not the user is reading or writing the pages, and instead just look at what they're _capable_ of doing to the file and generate a dmapi event based on that. This is a brain-dead way of doing things, but maybe slightly less brain-dead than what we have on irix, and it will hold things over until I can spend more time on doing it right. -Add linvfs_dmapi_map_event(). Decides if mmap activity requires a read or write event to dmapi, sends the event. -Make linvfs_generic_file_mmap() call the above.
Revision 1.48 / (download) - annotate - [select for diffs], Wed Oct 10 19:07:39 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.47: +87 -69
lines
Diff to previous 1.47 (unified)
Replicate file offset checks from generic_file_write into the xfs path. Deal with ioflags in a cleaner manner.
Revision 1.47 / (download) - annotate - [select for diffs], Thu May 17 20:53:29 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.46: +1 -0
lines
Diff to previous 1.46 (unified)
Add call to VMODIFY to ioctl path - we do not know what we did to the inode.
Revision 1.46 / (download) - annotate - [select for diffs], Fri Apr 27 16:37:41 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.45: +1 -1
lines
Diff to previous 1.45 (unified)
use the dcache entry rather than the file pointer to get to the inode, nfs does not supply a file pointer.
Revision 1.45 / (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.44: +4 -4
lines
Diff to previous 1.44 (unified)
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.44 / (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.43: +3 -3
lines
Diff to previous 1.43 (unified)
Get rid of the last compiler warning OFF flags
Revision 1.43 / (download) - annotate - [select for diffs], Tue Apr 10 23:28:42 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.42: +4 -2
lines
Diff to previous 1.42 (unified)
Fix readdir not to leave garbage after names
Revision 1.42 / (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.41: +19 -8
lines
Diff to previous 1.41 (unified)
fix sign problems with error returns
Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 16 16:20:24 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.40: +3 -2
lines
Diff to previous 1.40 (unified)
Fix setting of file offset in directory read code, there was a case where an entry was accounted for in the offset but not returned to the user.
Revision 1.40 / (download) - annotate - [select for diffs], Thu Mar 15 23:33:20 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.39: +54 -17
lines
Diff to previous 1.39 (unified)
Change linvfs_readdir to allocate a buffer, call xfs to fill it, and then call the filldir function on each entry. This is instead of doing the filldir deep in the bowels of xfs which causes locking problems.
Revision 1.39 / (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.38: +4 -3
lines
Diff to previous 1.38 (unified)
Minor tweaking
Revision 1.38 / (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.37: +11 -1
lines
Diff to previous 1.37 (unified)
Test for O_SYNC and pass PBF_SYNC down via VOP_WRITE
Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 17 04:01:25 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.36: +1 -1
lines
Diff to previous 1.36 (unified)
fix a compiler warning.
Revision 1.36 / (download) - annotate - [select for diffs], Wed Dec 20 03:23:53 2000 UTC (16 years, 9 months ago) by dxm
Branch: MAIN
Changes since 1.35: +26 -5
lines
Diff to previous 1.35 (unified)
put vops back to the same as irix
Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 10 14:38:27 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.34: +1 -9
lines
Diff to previous 1.34 (unified)
Remove some unneeded dir ops
Revision 1.34 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.33: +3 -6
lines
Diff to previous 1.33 (unified)
use xfs.h, remove all traces of SIM, push extern declarations into headers, dead code removal.
Revision 1.33 / (download) - annotate - [select for diffs], Mon Aug 7 14:33:51 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (unified)
Change long long to loff_t for 64 bit builds
Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 31 21:38:52 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.31: +7 -2
lines
Diff to previous 1.31 (unified)
Fix calling arguments to fsync - and since we can now tell the difference between fsync and fdatasync, pass this info down to xfs_fsync which will do the right thing.
Revision 1.31 / (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.30: +4 -4
lines
Diff to previous 1.30 (unified)
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.30 / (download) - annotate - [select for diffs], Thu Jun 15 03:57:07 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.29: +0 -1
lines
Diff to previous 1.29 (unified)
remove unused UIO fields.
Revision 1.29 / (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.28: +25 -4
lines
Diff to previous 1.28 (unified)
Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00 Add ASSERT's after inode to vnode address conversion. Merge of 2.3.99pre2-xfs:slinx:63026a originally by cattelan on 05/30/00 Masive type update all daddr_t -> xfs_daddr_t caddr_t -> xfs_caddr_t off_t -> xfs_off_t ino_t -> xfs_ino_t off64_t -> xfs_off_t Removed need for file xfs_to_linux.h and lunux_to_xfs.h Merge of 2.3.99pre2-xfs:slinx:63085a originally by jtk on 05/31/00 Add XFSSTATS to read/write. Merge of 2.3.99pre2-xfs:slinx:63295a originally by nathans on 06/03/00 change interface to (64bit) read/write byte counts.
Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 9 04:36:14 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.27: +12 -9
lines
Diff to previous 1.27 (unified)
Merge of 2.3.99pre2-xfs:slinx:62067a by ananth. Change 'static' to 'STATIC' for better back-traces in DEBUG mode.
Revision 1.27 / (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.26: +23 -3
lines
Diff to previous 1.26 (unified)
Merge of 2.3.99pre2-xfs:slinx:60726a by ananth. Change the position updates for case APPEND, protect via the inode lock.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 9 03:35:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.25: +24 -5
lines
Diff to previous 1.25 (unified)
Merge of 2.3.99pre2-xfs:slinx:57940a by ananth. Add linvfs_ioctl(), a layer routine that invokes VOP_IOCTL.
Revision 1.25 / (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.24: +17 -1
lines
Diff to previous 1.24 (unified)
Merge of 2.3.99pre2-xfs:slinx:57499a by ananth. Add a new wrapper and update the atime when mmap'ing a file. This should be removed if we ever stop using the xfs times in revalidate.
Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 9 03:24:58 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.23: +1 -0
lines
Diff to previous 1.23 (unified)
Merge of 2.3.99pre2-xfs:slinx:56852a by ananth. Add the open file operation for directories. This gets the read going early for readdir/getdents for directories that are big enough to have components in a separate block.
Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 9 03:23:30 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.22: +9 -6
lines
Diff to previous 1.22 (unified)
Merge of 2.3.99pre2-xfs:slinx:56508a by ananth. Implement a release method for XFS - this will prune back space allocated beyond end of file.
Revision 1.22 / (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.21: +25 -11
lines
Diff to previous 1.21 (unified)
Updated copyright and license notices, ready for open source release Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.
Revision 1.21 / (download) - annotate - [select for diffs], Fri Jun 9 02:42:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
CVS Tags: DELETE
Changes since 1.20: +8 -11
lines
Diff to previous 1.20 (unified)
Merge of 2.3.99pre2-xfs:slinx:55789a by ananth. Remove stub xfsf_ioctl routine, and new linvfs_ioctl routine to operations vector.
Revision 1.20 / (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.19: +4 -22
lines
Diff to previous 1.19 (unified)
Merge of 2.3.99pre2-xfs:slinx:46428a by ananth. Merge of 2.3.42-xfs:slinx:46428a by ananth. remove unused include files.
Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.18: +0 -5
lines
Diff to previous 1.18 (unified)
use linux security mechanisms Merge of 2.3.99pre2-xfs:slinx:46379a by ananth. Merge of 2.3.42-xfs:slinx:46379a by ananth.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 9 00:57:17 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.17: +7 -1
lines
Diff to previous 1.17 (unified)
Merge of 2.3.99pre2-xfs:slinx:45039a by ananth. Merge of 2.3.42-xfs:slinx:45039a by ananth. Use cred_fill_from_current() instead of sys_cred as a temporary workaround for creds.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 9 00:01:09 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.16: +14 -24
lines
Diff to previous 1.16 (unified)
Merge of 2.3.99pre2-xfs:slinx:43495a by ananth. Merge of 2.3.42-xfs:slinx:43495a by ananth. Switch to new format of initializing function vectors
Revision 1.16 / (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.15: +2 -11
lines
Diff to previous 1.15 (unified)
Bring XFS upto 2.3.42 Merge of 2.3.99pre2-xfs:slinx:43458a by ananth. Merge of 2.3.42-xfs:slinx:43458a by ananth.
Revision 1.15 / (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.14: +18 -0
lines
Diff to previous 1.14 (unified)
Encumbrance review done. Add copyright and license words consistent with GPL. Refer to http://fsg.melbourne.sgi.com/reviews/ for details. There is a slight change in the license terms and conditions words to go with the copyrights, so most of the files are not getting new GPL's, just updated versions ... but there are 20-30 more files here as well.
Revision 1.14 / (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.13: +0 -3
lines
Diff to previous 1.13 (unified)
remove some printfs.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 29 21:14:01 1999 UTC (17 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (unified)
added xfs_pb_bmap to ops list
Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 17 22:30:52 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.11: +6 -0
lines
Diff to previous 1.11 (unified)
Adjust the offset in linvfs_file_lseek if it has changed during a seek.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 10 20:44:19 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.10: +38 -32
lines
Diff to previous 1.10 (unified)
Make linvfs_read/linvfs_write use the VOP interface (will be needed by CXFS).
Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 19 21:43:49 1999 UTC (17 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.9: +31 -2
lines
Diff to previous 1.9 (unified)
Start of b_flags virtualization
Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 18 16:37:39 1999 UTC (18 years ago) by mostek
Branch: MAIN
Changes since 1.8: +3 -1
lines
Diff to previous 1.8 (unified)
Have linvfs_read just call generic_file_read. This makes setting break points in XFS' read easier.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Oct 5 05:18:56 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.7: +0 -0
lines
Diff to previous 1.7 (unified)
Added (void) to all function stubs... compiler thinks they sortof look like prototypes but they are not.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 4 21:52:52 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.6: +4 -3
lines
Diff to previous 1.6 (unified)
Add seek implementation for directories, xfs does not like the standard one. Also set file offset at end of readdir call.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 1 16:28:47 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.5: +6 -13
lines
Diff to previous 1.5 (unified)
Modularize irix/linux type cooexistance
Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 30 14:10:40 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.4: +12 -1
lines
Diff to previous 1.4 (unified)
Temporary type fixup
Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 29 17:55:19 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.3: +122 -39
lines
Diff to previous 1.3 (unified)
add some file ops
Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 29 15:39:48 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.2: +3 -1
lines
Diff to previous 1.2 (unified)
Added #define FSID_T avoid compiler warnings
Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 30 20:33:27 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.1: +7 -3
lines
Diff to previous 1.1 (unified)
Added include file xfs_coda_oops.h... which is a quick hack to to keep us from including all of the coda headers files, which seem to have type conflict problems with xfs.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 30 19:34:46 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
kern/fs/xfs/xfs_linux_ops_file.c 1.4 Renamed to kern/fs/xfs/linux/xfs_file.c