Nathan Scott
d8ce753241
[XFS] Remove files from the build that are now unused.
...
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-20 14:53:51 +10:00
Nathan Scott
d7b849da47
[XFS] Fix a Makefile issue related to exports.o handling.
...
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-20 14:01:29 +10:00
Nathan Scott
f6c2d1fa63
[XFS] Remove version 1 directory code. Never functioned on Linux, just
...
pure bloat.
SGI-PV: 952969
SGI-Modid: xfs-linux-melb:xfs-kern:26251a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-20 13:04:51 +10:00
Nathan Scott
da2f4d679c
[XFS] Map EFSCORRUPTED to an actual error code, not just a made up one
...
(990). Turns out some ye-olde unices used EUCLEAN as
Filesystem-needs-cleaning, so now we use that too.
SGI-PV: 953954
SGI-Modid: xfs-linux-melb:xfs-kern:26286a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-20 13:01:38 +10:00
Al Viro
0d8fee3270
[XFS] Kill direct access to ->count in valusema(); all we ever use it for
...
is check if semaphore is actually locked, which can be trivially done in
portable way. Code gets more reabable, while we are at it...
SGI-PV: 953915
SGI-Modid: xfs-linux-melb:xfs-kern:26274a
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-19 08:41:30 +10:00
Nathan Scott
a805bad5da
[XFS] Remove unneeded conditional code on NFS export interface related
...
code paths.
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26250a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-19 08:40:27 +10:00
Nathan Scott
6fe90e6d14
[XFS] Remove an incorrect use of unlikely() on a relatively likely code
...
path.
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26249a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-19 08:40:12 +10:00
Nathan Scott
1e69dd0eb3
[XFS] Push some common code out of write path into core XFS code for
...
sharing.
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26248a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-19 08:39:53 +10:00
Nathan Scott
1d47bec290
[XFS] Remove unnecessary local from open_exec dmapi path.
...
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26247a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-19 08:39:16 +10:00
Nathan Scott
d7ede1aa5d
[XFS] Minor XFS documentation updates.
...
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-13 16:28:11 +10:00
Nathan Scott
b190f1138b
[XFS] Fix broken const use inside local suffix_strtoul routine.
...
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26201a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 17:13:15 +10:00
Mandy Kirkconnell
477829ef2e
[XFS] Fix nused counter. It's currently getting set to -1 rather than
...
getting decremented by 1. Since nused never reaches 0, the "if
(!free->hdr.nused)" check in xfs_dir2_leafn_remove() fails every time and
xfs_dir2_shrink_inode() doesn't get called when it should. This causes
extra blocks to be left on an empty directory and the directory in unable
to be converted back to inline extent mode.
SGI-PV: 951958
SGI-Modid: xfs-linux-melb:xfs-kern:211382a
Signed-off-by: Mandy Kirkconnell <alkirkco@sgi.com >
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 17:13:04 +10:00
Nathan Scott
421ad13458
[XFS] Fix mismerge of the fs_writable cleanup patch causing a freeze/thaw
...
test hang.
SGI-PV: 953563
SGI-Modid: xfs-linux-melb:xfs-kern:26182a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 17:12:46 +10:00
Nathan Scott
4d1a2ed3d8
[XFS] Fix up debug code so that bulkstat wont generate thousands of
...
fsstress warnings.
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26111a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 17:12:28 +10:00
Nathan Scott
a916e2bd15
[XFS] Remove unused parameter from di2xflags routine.
...
SGI-PV: 904192
SGI-Modid: xfs-linux-melb:xfs-kern:26110a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 17:12:17 +10:00
Nathan Scott
34327e1384
[XFS] Cleanup a missed porting conversion, and freezing.
...
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26109a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 17:11:55 +10:00
Nathan Scott
8285fb58e7
[XFS] Resolve a namespace collision on remaining vtypes for FreeBSD
...
porters.
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26108a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 17:07:12 +10:00
Nathan Scott
67fcaa73ad
[XFS] Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
...
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26107a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 17:00:52 +10:00
Nathan Scott
b83bd13881
[XFS] Resolve a namespace collision on vfs/vfsops for FreeBSD porters.
...
SGI-PV: 9533338
SGI-Modid: xfs-linux-melb:xfs-kern:26106a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 16:48:30 +10:00
Nathan Scott
932f2c3231
[XFS] statvfs component of directory/project quota support, code
...
originally by Glen.
SGI-PV: 932952
SGI-Modid: xfs-linux-melb:xfs-kern:26105a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 15:29:58 +10:00
Nathan Scott
b65745205f
[XFS] Portability changes: remove prdev, stick to one diagnostic
...
interface.
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26103a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 15:29:40 +10:00
Nathan Scott
9c48876a05
[XFS] Remove dead code from come bulkstat paths.
...
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26102a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 15:29:22 +10:00
Nathan Scott
ad723875ac
[XFS] Fix a typo in a header file comment.
...
SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26101a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 15:29:12 +10:00
Nathan Scott
7d4fb40ad7
[XFS] 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.
SGI-PV: 917976
SGI-Modid: xfs-linux-melb:xfs-kern:26100a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 15:27:16 +10:00
Nathan Scott
59c1b082f5
[XFS] Make the pflags test/set wrappers more legible for us mere humans.
...
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26099a
Signed-off-by: Nathan Scott <nathans@sgi.com >
2006-06-09 14:59:13 +10:00