CVS log for xfs-linux/Attic/xfs_dmapi.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.142 / (download) - annotate - [select for diffs], Wed Feb 15 02:48:07 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.141: +0 -3449 lines
Diff to previous 1.141 (colored)

Remove direct dependency between dmapi.ko and xfs.ko causing dmapi.ko to be held in "[permanent]" mode by the xfs module.
Merge of xfs-linux-melb:xfs-kern:25191a by kenmcd.

Revision 1.141 / (download) - annotate - [select for diffs], Fri Feb 3 02:45:57 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.140: +4 -4 lines
Diff to previous 1.140 (colored)

Merge in Russells 2.4 build fixes after the mutex API changes.
Merge of xfs-linux-melb:xfs-kern:25098a by kenmcd.

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

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

Revision 1.139 / (download) - annotate - [select for diffs], Wed Dec 21 14:33:42 2005 UTC (11 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.138: +1 -2 lines
Diff to previous 1.138 (colored)

Fix some build fallout from atime changes.
Merge of xfs-linux-melb:xfs-kern:24899a by kenmcd.

Revision 1.138 / (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.137: +5 -8 lines
Diff to previous 1.137 (colored)

add helper to get xfs_inode from vnode

Revision 1.137 / (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.136: +1 -1 lines
Diff to previous 1.136 (colored)

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

Revision 1.136 / (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.135: +2 -1 lines
Diff to previous 1.135 (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.135 / (download) - annotate - [select for diffs], Mon Dec 5 04:59:52 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.134: +2 -2 lines
Diff to previous 1.134 (colored)

Ensure max diosize reported is aligned with minimum diosize.
Merge of xfs-linux-melb:xfs-kern:24689a by kenmcd.

Revision 1.134 / (download) - annotate - [select for diffs], Fri Dec 2 02:47:56 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.133: +6 -15 lines
Diff to previous 1.133 (colored)

Make d_maxiosz report the real maximum (INT_MAX) so we dont incorrectly limit people using this interface to size IO buffers.
Merge of xfs-linux-melb:xfs-kern:24657a by kenmcd.

Revision 1.133 / (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.132: +12 -26 lines
Diff to previous 1.132 (colored)

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

Revision 1.132 / (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.131: +8 -6 lines
Diff to previous 1.131 (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.131 / (download) - annotate - [select for diffs], Thu Jul 14 17:07:55 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.130: +8 -16 lines
Diff to previous 1.130 (colored)

remove struct vnode::v_type

Revision 1.130 / (download) - annotate - [select for diffs], Thu Jun 16 21:25:39 2005 UTC (12 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.129: +23 -30 lines
Diff to previous 1.129 (colored)

Rework prohibited_mr_events hint for xfs_dm_set_region
xfs_dm_punch_hole(): no longer needs to check VN_MAPPED, because it's
okay to punch out mapped files now.  Active executables are protected
by the call to get_write_access().

xfs_dm_set_region(): This is often called by DMF to simply remove the
READ event bit without changing any other bits, and this is behavior
that DMF relies on, so change the code to do it this way.

prohibited_mr_events(): Change this to search all writable maps.  Fix
for the 2.6.11 kernel, too.

Revision 1.129 / (download) - annotate - [select for diffs], Wed May 18 02:02:58 2005 UTC (12 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.128: +5 -4 lines
Diff to previous 1.128 (colored)

Remove dm_fsfid_t from dmapi. (from degremont@ocre.cea.fr)

Revision 1.128 / (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.127: +2 -131 lines
Diff to previous 1.127 (colored)

Undo xfs-linux:xfs-kern:190622a

Revision 1.127 / (download) - annotate - [select for diffs], Tue Apr 26 20:19:38 2005 UTC (12 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.126: +1 -0 lines
Diff to previous 1.126 (colored)

Set VMODIFY in xfs_dm_punch_hole

Revision 1.126 / (download) - annotate - [select for diffs], Thu Apr 21 02:02:31 2005 UTC (12 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.125: +1 -1 lines
Diff to previous 1.125 (colored)

fix compiler warning in xfs_dmapi.c

Revision 1.125 / (download) - annotate - [select for diffs], Fri Apr 8 02:46:25 2005 UTC (12 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored)

Add ATTR_NOLOCK for xfs_setattr to indicate that XFS_IOLOCK is held
Use ATTR_NOLOCK in xfs_dm_punch_hole().

Revision 1.124 / (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.123: +131 -2 lines
Diff to previous 1.123 (colored)

coordinate mmap calls with xfs_dm_punch_hole
Add a hash bucket-list to keep track of mmappers on an inode.  Use
this info in xfs_dm_punch_hole to avoid punching files that are mmapped
but for which there are no faulted pages.

Revision 1.123 / (download) - annotate - [select for diffs], Mon Apr 4 18:05:17 2005 UTC (12 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.122: +13 -1 lines
Diff to previous 1.122 (colored)

dmapi&mmap: fallback to READ event if WRITE event not specified.
In xfs_dm_send_mmap_event, we need to fallback to a READ event if 
the WRITE event is not specified.

Revision 1.122 / (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.121: +46 -49 lines
Diff to previous 1.121 (colored)

Handle inode semaphores properly for dmapi queues
Add funcs up_rw_sems() and down_rw_sems() to get the semaphores
correct when xfs_dm_send_data_event() needs to release and reacquire
semaphores.
This gives me a chance to get it right for the 2.6 kernel.

Toss out DOWN_TRUNC_SEM and UP_TRUNC_SEM and change xfs_dm_punch_hole
to use the new up_rw_sems() and down_rw_sems() functions.
I've been over this so many times my eyes are blurry, but I now
believe the locks stay the same with this change.

Revision 1.121 / (download) - annotate - [select for diffs], Tue Mar 15 16:11:48 2005 UTC (12 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.120: +114 -80 lines
Diff to previous 1.120 (colored)

fix direct user pointer dereferences in dmapi
various fixes for direct user pointer dereferences

Revision 1.120 / (download) - annotate - [select for diffs], Thu Mar 10 17:30:36 2005 UTC (12 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.119: +0 -2 lines
Diff to previous 1.119 (colored)

xfs_dm_punch_hole does not need vn_revalidate.

Revision 1.119 / (download) - annotate - [select for diffs], Tue Mar 8 17:42:35 2005 UTC (12 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.118: +7 -3 lines
Diff to previous 1.118 (colored)

dmapi: dm_handle_to_ip is using s_root before it's setup
Change xfs_dm_fh_to_inode to handle both file object handles
and filesystem handles.  For filesystem handles call VFS_ROOT.

Revision 1.118 / (download) - annotate - [select for diffs], Tue Feb 15 23:42:06 2005 UTC (12 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.117: +66 -8 lines
Diff to previous 1.117 (colored)

Memory-mapped files are vulnerable to data corruption in dmapi
Change xfs_dm_punch_hole() to look more like do_truncate().

Revision 1.117 / (download) - annotate - [select for diffs], Tue Feb 15 22:10:33 2005 UTC (12 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.116: +44 -81 lines
Diff to previous 1.116 (colored)

Memory-mapped files are vulnerable to data corruption with dmapi
Collapse xfs_dm_mapevent() and xfs_dm_send_mmap_event() into one function.
Add xfs_ilock/xfs_iunlock calls around the DM_EVENT_ENABLED check because
this is all we can use to synchronize with a thread in xfs_dm_punch_hole().
This will cause us to take advantage of the loop in xfs_dm_send_data_event().

Revision 1.116 / (download) - annotate - [select for diffs], Tue Feb 15 13:30:22 2005 UTC (12 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.115: +57 -57 lines
Diff to previous 1.115 (colored)

Add sparse annotations to dmapi
sparse annotations

Revision 1.115 / (download) - annotate - [select for diffs], Thu Feb 3 22:33:20 2005 UTC (12 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.114: +1 -1 lines
Diff to previous 1.114 (colored)

Update copyright to 2005
copyright to 2005.

Revision 1.114 / (download) - annotate - [select for diffs], Wed Jan 26 19:02:05 2005 UTC (12 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.113: +8 -30 lines
Diff to previous 1.113 (colored)

fix filehandle leak in dmapi invis I/O

Revision 1.113 / (download) - annotate - [select for diffs], Mon Jan 24 16:57:40 2005 UTC (12 years, 8 months ago) by roehrich
Branch: MAIN
Changes since 1.112: +1 -1 lines
Diff to previous 1.112 (colored)

xfs_dm_send_unmount_event will reference a null vp in the case of an unmount event
The function xfs_dm_send_unmount_event will reference a null vp in the
case of an unmount event.

Revision 1.112 / (download) - annotate - [select for diffs], Fri Jan 7 20:19:06 2005 UTC (12 years, 9 months ago) by roehrich
Branch: MAIN
Changes since 1.111: +8 -5 lines
Diff to previous 1.111 (colored)

Fix dev_t returned by xfs_dm_get_fileattr on 2.6 kernel
Fix dev_t returned by xfs_dm_get_fileattr on 2.6 kernel

Revision 1.111 / (download) - annotate - [select for diffs], Thu Jan 6 21:42:45 2005 UTC (12 years, 9 months ago) by roehrich
Branch: MAIN
Changes since 1.110: +34 -17 lines
Diff to previous 1.110 (colored)

Make xfs_dm_get_allocinfo_rvp use less stack space
Dynamically allocate the large bmb array.
Then, bring it closer to the dmapi space by
returning EINVAL for non-S_IFREG files, and
returning EINVAL for nelem==0.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jan 6 21:09:30 2005 UTC (12 years, 9 months ago) by roehrich
Branch: MAIN
Changes since 1.109: +1 -1 lines
Diff to previous 1.109 (colored)

null-vp reference for some dmapi namespace events
In xfs_dm_send_namesp_event the vp2 pointer may sometimes be null,
depending on the event.

Revision 1.109 / (download) - annotate - [select for diffs], Fri Dec 17 21:08:59 2004 UTC (12 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.108: +66 -45 lines
Diff to previous 1.108 (colored)

Fix xfs_dm_get_dirattrs_rvp.
Fix xfs_dm_get_dirattrs_rvp.
This was a casualty of earlier fixes to xfs_dm_get_bulkattr and
xfs_dm_get_bulkall.  While we're here, let's bring this up a little closer
to spec.  It now returns 0 when it is finished, and 1 when there is
more dir info to be retrieved.  If the user buffer is too small then it
returns 1 (there is more info) and sets rlenp to 0 (no data returned)--as
specified in the spec.

Revision 1.108 / (download) - annotate - [select for diffs], Thu Oct 28 22:43:01 2004 UTC (12 years, 11 months ago) by roehrich
Branch: MAIN
Changes since 1.107: +1 -1 lines
Diff to previous 1.107 (colored)

handle inode creating race
xfs_iget gained another parameter

Revision 1.107 / (download) - annotate - [select for diffs], Fri Oct 1 19:14:18 2004 UTC (13 years ago) by roehrich
Branch: MAIN
Changes since 1.106: +1 -1 lines
Diff to previous 1.106 (colored)

dmapi walking wrong list in vm_area_structs
   Change prohibited_mr_events to walk the vm_next_share pointer rather than
   the vm_next pointer.
This is mod xfs-linux:xfs-kern:179807a again, this was lost in
the upgrade to 2.6.9-rc3.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Oct 1 19:10:11 2004 UTC (13 years ago) by roehrich
Branch: MAIN
Changes since 1.105: +10 -5 lines
Diff to previous 1.105 (colored)

Allow Invis I/O to file that has thread blocked waiting to execute it
   Change xfs_dm_rdwr() to take get_write_access() if it can get it but to
   do the invis write in any case.  If a thread is trying to execute the file
   then we won't get write access...but that thread is waiting for us to
   write the file...so let's write it anyway.
This is mod xfs-linux:xfs-kern:179806a again, this was lost
in the upgrade to 2.6.9-rc3.

Revision 1.105 / (download) - annotate - [select for diffs], Fri Oct 1 19:04:46 2004 UTC (13 years ago) by roehrich
Branch: MAIN
Changes since 1.104: +1 -5 lines
Diff to previous 1.104 (colored)

remove unused variable from xfs_dm_rdwr
Remove ioflags from xfs_dm_rdwr.
This is mod xfs-linux:xfs-kern:179162a again; it was lost in
the upgrade to 2.6.9-rc3.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Oct 1 05:53:18 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.103: +25 -50 lines
Diff to previous 1.103 (colored)

Merge in Deans 2.6.9-rc1 updates for xfs_dmapi.c now that kernel has moved up.
Merge of xfs-linux-melb:xfs-kern:19631a by kenmcd.

Revision 1.103 / (download) - annotate - [select for diffs], Fri Sep 24 17:00:45 2004 UTC (13 years ago) by roehrich
Branch: MAIN
Changes since 1.102: +1 -1 lines
Diff to previous 1.102 (colored)

dmapi walking wrong list in vm_area_structs
Change prohibited_mr_events to walk the vm_next_share pointer rather than
the vm_next pointer.

Revision 1.102 / (download) - annotate - [select for diffs], Fri Sep 24 16:49:49 2004 UTC (13 years ago) by roehrich
Branch: MAIN
Changes since 1.101: +10 -6 lines
Diff to previous 1.101 (colored)

Allow Invis I/O to file that has thread blocked waiting to execute it
Change xfs_dm_rdwr() to take get_write_access() if it can get it but to
do the invis write in any case.  If a thread is trying to execute the file
then we won't get write access...but that thread is waiting for us to
write the file...so let's write it anyway.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Sep 15 21:21:55 2004 UTC (13 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.100: +1 -5 lines
Diff to previous 1.100 (colored)

remove unused variable from xfs_dm_rdwr
Remove ioflags from xfs_dm_rdwr

Revision 1.100 / (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.99: +2 -0 lines
Diff to previous 1.99 (colored)

Need to vn_revalidate after dm_set_fileattr
Add vn_revalidate in xfs_dm_set_fileattr

Revision 1.99 / (download) - annotate - [select for diffs], Mon Aug 23 17:35:44 2004 UTC (13 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.98: +45 -83 lines
Diff to previous 1.98 (colored)

Change DMAPI dm_punch_hole to punch holes, rather than just truncate files.
Change xfs_dm_punch_hole to use xfs_change_file_space rather than
rolling its own hole-punching code.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Aug 13 05:14:58 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.97: +1 -2 lines
Diff to previous 1.97 (colored)

Remove several macros which are no longer used anywhere.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Jul 27 23:07:27 2004 UTC (13 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.96: +1 -1 lines
Diff to previous 1.96 (colored)

fix dereference of null pointer in xfs_dm_send_namesp_event

Revision 1.96 / (download) - annotate - [select for diffs], Thu Jul 8 07:35:45 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.95: +1 -1 lines
Diff to previous 1.95 (colored)

sparse: rework previous mods to fix warnings in DMAPI code.  From Chris Wedgwood.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Jun 18 16:05:24 2004 UTC (13 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.94: +27 -7 lines
Diff to previous 1.94 (colored)

fix dmapi prohibited_events for 2.6.7 kernel
fix dmapi prohibited_events for 2.6.7 kernel

Revision 1.94 / (download) - annotate - [select for diffs], Fri Jun 11 19:51:54 2004 UTC (13 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.93: +11 -11 lines
Diff to previous 1.93 (colored)

fix xfs_dm_bulkstat_one, dereferencing ip before setting it.
Set vp _after_ we have ip, not before.
Do reduce confusion between struct inode and xfs_inode_t, switch all 'ip'
to 'xip' in this function.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Jun 8 17:26:18 2004 UTC (13 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.92: +3442 -0 lines
Diff to previous 1.92 (colored)

Move dmapi_xfs.c to ../xfs_dmapi.c
dmapi/dmapi_xfs.c 1.39 Renamed to xfs_dmapi.c
Rename to ../xfs_dmapi.c

Revision 1.92 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.91: +0 -0 lines
Diff to previous 1.91 (colored)

Nuke

Revision 1.91 / (download) - annotate - [select for diffs], Mon Mar 17 23:02:58 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.90: +0 -2729 lines
Diff to previous 1.90 (colored)

Remove xfs_dmapi.c - this now lives below fs/xfs/dmapi, effectively.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Mar 12 03:33:01 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.89: +8 -32 lines
Diff to previous 1.89 (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.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Mar 11 04:37:23 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.88: +0 -2 lines
Diff to previous 1.88 (colored)

First stage of behavior code cleanup - removes a bunch of unused macros
related to read/write locking the behavior change.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Dec 12 17:04:17 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.87: +0 -74 lines
Diff to previous 1.87 (colored)

remove xfs_dm_send_create_event
remove xfs_dm_send_create_event

Revision 1.87 / (download) - annotate - [select for diffs], Tue Dec 3 20:42:11 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.86: +9 -10 lines
Diff to previous 1.86 (colored)

fix denywrite check in prohibited_mr_events()
fix denywrite check in prohibited_mr_events()

Revision 1.86 / (download) - annotate - [select for diffs], Mon Nov 18 22:53:16 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.85: +9 -9 lines
Diff to previous 1.85 (colored)

fix some wrong off_t uses in dmapi
always use xfs_off_t (64bits) instead of off_t (may be 32bits)

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

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

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

Change AT_* to XFS_AT_* to prevent namespace collisions; move some type
declarations into more appropriate places.
Change AT_* to XFS_AT_* to prevent namespace collisions.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.82: +52 -52 lines
Diff to previous 1.82 (colored)

Undoes mod:     2.4.x-xfs:slinx:130826a
Revert STATIC->static change

Revision 1.82 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.81: +52 -52 lines
Diff to previous 1.81 (colored)

Replace STATIC with static in xfs code

Revision 1.81 / (download) - annotate - [select for diffs], Wed Oct 9 03:06:48 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.80: +7 -7 lines
Diff to previous 1.80 (colored)

Global search and replace of the b* memory routines to their mem* equivalents.
(bcopy->memcopy, ovbcopy->memmove, bzero->memset, bcmp->memcmp).

Revision 1.80 / (download) - annotate - [select for diffs], Tue Oct 8 16:47:22 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.79: +1 -1 lines
Diff to previous 1.79 (colored)

fix dmapi's stat of a dev code (ip_to_stat)
convert kdev_t to a number before returning to user space

Revision 1.79 / (download) - annotate - [select for diffs], Wed Oct 2 17:25:30 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.78: +1 -7 lines
Diff to previous 1.78 (colored)

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

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

Revision 1.78 / (download) - annotate - [select for diffs], Thu Sep 5 05:37:11 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.77: +0 -1 lines
Diff to previous 1.77 (colored)

remove an unneeded #include file.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Aug 22 20:11:54 2002 UTC (15 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.76: +0 -4 lines
Diff to previous 1.76 (colored)

remove debug code that was left in xfs_dm_send_data_event()

Revision 1.76 / (download) - annotate - [select for diffs], Thu Aug 22 20:04:46 2002 UTC (15 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.75: +10 -3 lines
Diff to previous 1.75 (colored)

We'll use dmstate to keep a counter and use this to coordinate
activity between xfs_dm_punch_hole and xfs_dm_send_data_event.

Checking DM_EVENT_ENABLED got us into trouble.  By checking that event,
after you've already sent it, you're dictating behavior to the HSM--that it
must clear the event's bit from the event mask before responding to the event.
The DMAPI spec does not require that HSMs behave this way, and some, like
Veritas's, don't.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Aug 2 19:39:17 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.74: +5 -5 lines
Diff to previous 1.74 (colored)

Use ssize_t variable for return of xfs_read/write, not int

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jul 23 20:54:30 2002 UTC (15 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.73: +1 -1 lines
Diff to previous 1.73 (colored)

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.73 / (download) - annotate - [select for diffs], Tue Jul 23 16:35:37 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.72: +1 -3 lines
Diff to previous 1.72 (colored)

remove unused xfs_bmapi vars

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jul 22 18:34:31 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.71: +1 -1 lines
Diff to previous 1.71 (colored)

remove kdev_t abuse from XFS

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jul 19 17:02:11 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.70: +10 -0 lines
Diff to previous 1.70 (colored)

Add xfs_dm_obj_ref_hold(), as interface to VN_HOLD().

Revision 1.70 / (download) - annotate - [select for diffs], Tue Jul 16 19:46:32 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.69: +122 -137 lines
Diff to previous 1.69 (colored)

make dmapi use vnode pointer rather than bhv pointer

Revision 1.69 / (download) - annotate - [select for diffs], Fri Jul 12 20:52:29 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.68: +8 -8 lines
Diff to previous 1.68 (colored)

kill get_current_cred()

Revision 1.68 / (download) - annotate - [select for diffs], Thu Jul 11 15:04:20 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.67: +4 -2 lines
Diff to previous 1.67 (colored)

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

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jul 10 19:00:42 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.66: +103 -103 lines
Diff to previous 1.66 (colored)

whitespace cleanup

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jul 10 17:20:04 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.65: +1 -0 lines
Diff to previous 1.65 (colored)

add iobuf.h

Revision 1.65 / (download) - annotate - [select for diffs], Wed Jul 10 15:16:19 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.64: +51 -1 lines
Diff to previous 1.64 (colored)

Add xfs_dmapi_mmap_event().  This is the reincarnation of
linvfs_dmapi_map_event().

Revision 1.64 / (download) - annotate - [select for diffs], Tue Jul 9 02:59:39 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63 (colored)

Get max direct I/O size from a different place

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jun 21 18:53:09 2002 UTC (15 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.62: +0 -72 lines
Diff to previous 1.62 (colored)

No Message Supplied

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jun 19 15:57:21 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.61: +1 -3 lines
Diff to previous 1.61 (colored)

No Message Supplied

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jun 18 21:13:32 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored)

Move the dmapi mount event entirely into XFS.  Add a new mount option,
borrowed from the Imprezzo folks, to specify the mountpoint for the dmapi
filesystem.

Now mount dmapi filesystems this way:

	mount -o dmapi -o mtpt=/mnts/dmi1 /dev/sda7 /mnts/dmi1
No Message Supplied

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 18 14:45:50 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.59: +2 -3 lines
Diff to previous 1.59 (colored)

remove need for covered vnode pointer in mount event path

Revision 1.59 / (download) - annotate - [select for diffs], Mon Jun 10 18:42:56 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.58: +12 -4 lines
Diff to previous 1.58 (colored)

invisible I/O needs to open large files with O_LARGEFILE.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 10 16:48:00 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.57: +11 -19 lines
Diff to previous 1.57 (colored)

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

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jun 8 02:44:08 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

remove unused parameter from read/write path

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jun 4 16:30:46 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55 (colored)

Update copyright dates

Revision 1.55 / (download) - annotate - [select for diffs], Mon Jun 3 21:05:32 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.54: +22 -8 lines
Diff to previous 1.54 (colored)

fix some mem leaks, and in cases where alloc'd mem will be shared
with the dmapi module, use the native linux mem routines.

Revision 1.54 / (download) - annotate - [select for diffs], Fri May 31 00:44:20 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.53: +1 -1 lines
Diff to previous 1.53 (colored)

kdev_t changes to sync up the 2.4 code base with the 2.5 code (incl.
use of the kdev compat macros, removed pb_dev from page_buf_t, made
XFS_BUF_TARGET use match up with current 2.5, removed unused q_dev
field from xfs_dquot).

Revision 1.53 / (download) - annotate - [select for diffs], Tue May 28 22:30:45 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.52: +0 -10 lines
Diff to previous 1.52 (colored)

Remove checks for VISSWAP, it's never set.

Revision 1.52 / (download) - annotate - [select for diffs], Wed May 22 16:30:23 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 (colored)

Use xfs_iput_new for new inodes that are still locked

Revision 1.51 / (download) - annotate - [select for diffs], Wed May 8 04:29:58 2002 UTC (15 years, 5 months ago) by tes
Branch: MAIN
Changes since 1.50: +9 -0 lines
Diff to previous 1.50 (colored)

Map ERANGE error returns from VOP_ATTR_* calls to E2BIG in order to
comply with dmapi standard.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 26 16:19:25 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49 (colored)

i_dev replaced with i_mount->m_dev

Revision 1.49 / (download) - annotate - [select for diffs], Thu Mar 21 16:42:58 2002 UTC (15 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.48: +6 -1 lines
Diff to previous 1.48 (colored)

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

This mod allows DMAPI to keep a vfsmount pointer that was used during the
mount event, and in a followup mod I will use that pointer for an
open_by_handle operation.
Change xfs_dm_mount() to accept vfsmount ptr, and to call dm_hookup_vfsmount.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Mar 20 21:46:15 2002 UTC (15 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.47: +39 -36 lines
Diff to previous 1.47 (colored)

cleanups for invis I/O

Revision 1.47 / (download) - annotate - [select for diffs], Tue Feb 12 20:54:33 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46 (colored)

Merge irix6.5f:irix:110771a
Update xfs_dm_get_bulkattr_rvp() to detect a buffer that is too big
for xfs_bulkstat&friends to handle.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Dec 11 20:29:05 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.45: +19 -31 lines
Diff to previous 1.45 (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.
No Message Supplied

Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 6 21:29:13 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.44: +5 -36 lines
Diff to previous 1.44 (colored)

Rip out xfs_dm_fcntl().
xfs_dm_mapevent() and xfs_dm_get_fsys_vector() should bypass the data
structure for xfs_dm_fcntl() since we're no longer using it.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 5 17:34:03 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.43: +2 -249 lines
Diff to previous 1.43 (colored)

No Message Supplied

Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 4 17:34:40 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

Make xfs_dm_get_fsys_vector() non-static.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 6 16:08:33 2001 UTC (15 years, 11 months ago) by roehrich
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

fix the VOP_READ/VOP_WRITE calls that dmapi uses for invisible I/O.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Oct 29 18:19:47 2001 UTC (15 years, 11 months ago) by roehrich
Branch: MAIN
Changes since 1.40: +14 -17 lines
Diff to previous 1.40 (colored)

port prohibited_mr_events() to linux.
remove some ifdef __sgi gunk.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Oct 26 14:53:27 2001 UTC (15 years, 11 months ago) by roehrich
Branch: MAIN
Changes since 1.39: +5 -6 lines
Diff to previous 1.39 (colored)

-make xfs_dm_mapevent accessible to linvfs layer
-remove xfs_dm_testevent--not necessary on linux at this point

Revision 1.39 / (download) - annotate - [select for diffs], Fri Oct 19 16:53:21 2001 UTC (15 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38 (colored)

Merge irix6.5f:irix:104225a 
Break out of the loop in xfs_dm_send_data_event() on an error.
Fix for Bug 831666/838314.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Sep 21 15:52:43 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.37: +10 -13 lines
Diff to previous 1.37 (colored)

Merge irix6.5f:irix:102826a
Add do/while loop around the dm_send_data_event() call in
xfs_dm_send_data_event() to verify that the event has not been reset in
the event mask while obtaining the xfs locks.
Remove the behavior lock/unlock which was unnecessary.  The behavior
cannot be unlocked while sending the the DMAPI event without opening the
possibility that the vnode will be exported.
Fix for bug 831666.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Aug 10 21:26:49 2001 UTC (16 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.36: +5 -3 lines
Diff to previous 1.36 (colored)

The current invisible I/O tests have been cheating.  They do helpful things
like calling path_to_handle() before doing the invisible I/O.  This means
there is always a connected dentry for the file.

If the tests are modified to not cheat, then they show that xfs_vget has been
coming up short.  In my case, I either end up with a null pointer reference
somewhere in kupdate or I have a filesystem that I can umount and but cannot
remount.  When the filesystem cannot be remounted I see this from mount:

mount: wrong fs type, bad option, bad superblock on /dev/hda12,
       or too many mounted file systems

By finishing xfs_vget, and getting the inode properly setup, the problems go
away.
In dmapi_dget(), remove some confusing comments and add
DCACHE_REFERENCED flag.

Revision 1.36 / (download) - annotate - [select for diffs], Thu May 24 23:17:45 2001 UTC (16 years, 4 months ago) by sandeen
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.35: +12 -14 lines
Diff to previous 1.35 (colored)

Merge of irix6.5f:irix:95153b
Update comments in xfs_dm_mapevent() and xfs_dm_testevent().  Fix for
bug 821346.

Revision 1.35 / (download) - annotate - [select for diffs], Mon May 21 16:10:51 2001 UTC (16 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.34: +6 -8 lines
Diff to previous 1.34 (colored)

- fix dmapi invis I/O so it uses VOP_READ/VOP_WRITE status correctly.
- add call to linvfs_revalidate_core after dmapi invis I/O, so the
  inode agrees with the vnode that no timestamps were changed (the I/O is
  invisible, after all).
- fix dmapi invis I/O so it uses VOP_READ/VOP_WRITE status correctly.
- add call to linvfs_revalidate_core after dmapi invis I/O, so the
  inode agrees with the vnode that no timestamps were changed (the I/O is
  invisible, after all).

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

Get rid of the last compiler warning OFF flags

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 20 22:56:33 2001 UTC (16 years, 6 months ago) by roehrich
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.31: +7 -7 lines
Diff to previous 1.31 (colored)

Allow DMAPI to do direct I/O
turn on direct I/o

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

Fix d_maxiosz calculation.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Dec 22 19:45:55 2000 UTC (16 years, 9 months ago) by roehrich
Branch: MAIN
Changes since 1.29: +17 -4 lines
Diff to previous 1.29 (colored)

fix read/write VOPS in dmapi
update read/write VOPS

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 11 15:45:35 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.28: +204 -72 lines
Diff to previous 1.28 (colored)

cleanup some crud in dmapi code
cleanup some crud

Revision 1.28 / (download) - annotate - [select for diffs], Tue Oct 10 18:33:09 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.27: +25 -0 lines
Diff to previous 1.27 (colored)

Add xfs_dm_mount(), for dmapi mount via VFSOPS
add xfs_dm_mount(), for VFSOPS_DMAPI_MOUNT

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 9 18:41:42 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.26: +85 -83 lines
Diff to previous 1.26 (colored)

this makes invisible I/O work.
invisible I/O

Revision 1.26 / (download) - annotate - [select for diffs], Mon Oct 2 15:19:34 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

remove dmapi ident lines
correct MAXNAMLEN

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

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

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 22 19:18:53 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.23: +33 -15 lines
Diff to previous 1.23 (colored)

add gpl header, use macro to get rdev
add gpl header, use macro to get rdev

Revision 1.23 / (download) - annotate - [select for diffs], Wed Aug 30 19:52:38 2000 UTC (17 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.22: +0 -0 lines
Diff to previous 1.22 (colored)

put proper copyright headers on dmapi code
add "free software" copyright

Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 30 19:45:42 2000 UTC (17 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

apply fix from irix
fix for pv 799138

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 27 20:14:52 2000 UTC (17 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.20: +3036 -0 lines
Diff to previous 1.20 (colored)

this compiles and links, but important pieces are disabled
the xfs<>dmapi glue

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 9 01:08:36 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.19: +0 -2875 lines
Diff to previous 1.19 (colored)

This file now inactivated (i.e. logically removed from the PL).
Merge of 2.3.99pre2-xfs:slinx:46027a by ananth.

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

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

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

  Merge of 2.3.42-xfs:slinx:44783a by ananth.
  remove dead vfsp field

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 9 00:03:30 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.17: +15 -7 lines
Diff to previous 1.17 (colored)

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

  Merge of 2.3.42-xfs:slinx:44186a by ananth.
  Copied GPL from slinx-xfs tree.

Revision 1.17 / (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.16: +1 -2 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Thu Dec 2 00:05:09 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

ifdef out useracc()

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

Merge from irix/cxfs-f to irix/irix6.5f
Merge of cxfs-f:irix:15011b created by lord on 05/11/99
  Merge from irix/cxfs to irix/cxfs-f
  Merge of cxfs:irix:13423a created by lord on 04/19/99
  CXFS infrastructure checkin

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 4 01:28:30 1999 UTC (18 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.12: +7 -4 lines
Diff to previous 1.12 (colored)

Change includes for v2 directory support.
Vector out v1/v2 directory operations.

Revision 1.12 / (download) - annotate - [select for diffs], Wed May 13 20:48:51 1998 UTC (19 years, 5 months ago) by kcm
Branch: MAIN
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored)

call global function xfs_set_dmattrs for fssetdm F_DMAPI fcntl.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 10 16:42:37 1998 UTC (19 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Use cap_able_cred instead of checking against uid 0, also instead of
macro _CAP_CRABLE.
pv: 586451 rv: bitbug@engr

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 20 20:42:25 1998 UTC (19 years, 7 months ago) by kcm
Branch: MAIN
Changes since 1.9: +8 -2 lines
Diff to previous 1.9 (colored)

Correct O2 R10k direct IO buffer allignment.
pv: 573301
rv: kfr@cray.com

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 18 08:52:26 1998 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

added extra argument to xfs_trans_commit for IO_DSYNC speedup.
pv: 555963  rv: lord@cray

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 15 22:21:20 1998 UTC (19 years, 9 months ago) by cwf
Branch: MAIN
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored)

rv: ram@cray.com
pv: 463104,499744
Changes to handle new arguments to xfs_bulkstat and bulkstat_one_pf.
Retains use of igets for dmapi stat output.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 19 15:29:33 1997 UTC (19 years, 10 months ago) by kcm
Branch: MAIN
Changes since 1.6: +3 -5 lines
Diff to previous 1.6 (colored)

Use string DMATTR_PREFIXSTRING to prefix DMI attributes.
pv: 549111.
rv: kfr@sdiv.cray.com

Revision 1.6 / (download) - annotate - [select for diffs], Mon Dec 15 19:50:58 1997 UTC (19 years, 10 months ago) by kcm
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

Add support for fssetdm_by_handle.
rv: cwf@sdiv.cray.com
pv: 549104

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 22 22:27:55 1997 UTC (19 years, 11 months ago) by cp
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

Accounting moved from proc proxy into uthread obviating atomic ops.
rv: leedom@engr,henseler@cray
pv: 509435

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 6 15:53:46 1997 UTC (20 years ago) by kcm
Branch: MAIN
Changes since 1.3: +16 -14 lines
Diff to previous 1.3 (colored)

Add permission check for F_DMAPI VOP_FCNTL.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 17 21:59:23 1997 UTC (20 years, 1 month ago) by kcm
Branch: MAIN
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored)

Correct error when dm_get_bulkattr forgot to return an errno.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 9 14:28:16 1997 UTC (20 years, 1 month ago) by kcm
Branch: MAIN
Changes since 1.1: +2843 -6 lines
Diff to previous 1.1 (colored)

Changes to reflect DMAPI upgrade to conform to the
X/Open XDSM document.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 11 15:39:59 1997 UTC (20 years, 2 months ago) by kcm
Branch: MAIN

Add support for xfs specific DMAPI routines.

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>