| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Discussed on arch@.
Reviewed by: kan
Approved by: re (blanket), kan
Discussed with: dumbbell
Notes:
svn path=/head/; revision=147401
|
| |
|
|
|
|
|
|
| |
Don't store the disk cdev in all inodes, it's only used for debugging
printfs.
Notes:
svn path=/head/; revision=143677
|
| |
|
|
| |
Notes:
svn path=/head/; revision=142692
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139778
|
| |
|
|
|
|
|
|
|
|
| |
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.
Approved by: core, peter, alc, rwatson
Notes:
svn path=/head/; revision=128019
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ext2fs, inode numbers start at 1, so the maximum valid inode number
is (s_inodes_per_group * s_groups_count), not one less. This is
just a minimal change to avoid unnecessary panics and errors; some
other related bugs that Bruce Evans mentioned to me are not addressed.
Reviewed by: bde (ages ago)
Notes:
svn path=/head/; revision=96880
|
| |
|
|
|
|
|
| |
after the change to a 64-bit daddr_t.
Notes:
svn path=/head/; revision=96877
|
| |
|
|
| |
Notes:
svn path=/head/; revision=96752
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
shared code and converting all ufs references. Originally it may
have made sense to share common features between the two filesystems,
but recently it has only caused problems, the UFS2 work being the
final straw.
All UFS_* indirect calls are now direct calls to ext2_* functions,
and ext2fs-specific mount and inode structures have been introduced.
Notes:
svn path=/head/; revision=96749
|
| |
|
|
|
|
|
| |
file with a in Lite1 before being cvs-added to FreeBSD.
Notes:
svn path=/head/; revision=93015
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92728
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
locking flags when acquiring a vnode. The immediate purpose is
to allow polling lock requests (LK_NOWAIT) needed by soft updates
to avoid deadlock when enlisting other processes to help with
the background cleanup. For the future it will allow the use of
shared locks for read access to vnodes. This change touches a
lot of files as it affects most filesystems within the system.
It has been well tested on FFS, loopback, and CD-ROM filesystems.
only lightly on the others, so if you find a problem there, please
let me (mckusick@mckusick.com) know.
Notes:
svn path=/head/; revision=92462
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72640
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
extattr.h to be included. This fixes the broken ext2fs build as of
the import of extattr code.
Also added $FreeBSD: $ to a couple of files that didn't have them,
without which I couldn't commit this fix.
Reported by: "George W. Dinolt" <gdinolt@pacbell.net>
Notes:
svn path=/head/; revision=59259
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50260
|
| |
|
|
|
|
|
| |
for misprinting in %lx format.
Notes:
svn path=/head/; revision=50253
|
| |
|
|
|
|
|
| |
in this message.
Notes:
svn path=/head/; revision=47099
|
| |
|
|
|
|
|
| |
kernel compile
Notes:
svn path=/head/; revision=43301
|
| |
|
|
|
|
|
|
| |
time initializing them. This almost finishes centralizing (in-core)
timestamp updates in ufs_itimes().
Notes:
svn path=/head/; revision=42374
|
| |
|
|
|
|
|
|
|
| |
MNT_WAIT when we mean boolean `true' or check for that value not being
passed. There was no problem in practice because MNT_WAIT had the
magic value of 1.
Notes:
svn path=/head/; revision=42354
|
| |
|
|
|
|
|
|
|
| |
they are deleted, so inodes must be cleared when they are reused, but
we didn't clear the indirect blocks. This caused serious filesystem
corruption.
Notes:
svn path=/head/; revision=39753
|
| |
|
|
| |
Notes:
svn path=/head/; revision=37976
|
| |
|
|
| |
Notes:
svn path=/head/; revision=37094
|
| |
|
|
| |
Notes:
svn path=/head/; revision=35256
|
| |
|
|
| |
Notes:
svn path=/head/; revision=33134
|
| |
|
|
| |
Notes:
svn path=/head/; revision=33108
|
| |
|
|
|
|
|
|
| |
decremented when directories were removed because rev.1.12 broke the
fixup of the i_mode of the inode being removed.
Notes:
svn path=/head/; revision=31517
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31485
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31483
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Remove VOP_UPDATE, it is (also) an UFS/{FFS,LFS,EXT2FS,MFS}
intereface function, and now lives in the ufsmount structure.
2. Remove VOP_SEEK, it was unused.
3. Add mode default vops:
VOP_ADVLOCK vop_einval
VOP_CLOSE vop_null
VOP_FSYNC vop_null
VOP_IOCTL vop_enotty
VOP_MMAP vop_einval
VOP_OPEN vop_null
VOP_PATHCONF vop_einval
VOP_READLINK vop_einval
VOP_REALLOCBLKS vop_eopnotsupp
And remove identical functionality from filesystems
4. Add vop_stdpathconf, which returns the canonical stuff. Use
it in the filesystems. (XXX: It's probably wrong that specfs
and fifofs sets this vop, shouldn't it come from the "host"
filesystem, for instance ufs or cd9660 ?)
5. Try to make system wide VOP functions have vop_* names.
6. Initialize the um_* vectors in LFS.
(Recompile your LKMS!!!)
Notes:
svn path=/head/; revision=30492
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Add new file "sys/kern/vfs_default.c" where default actions for
VOPs go. Implement proper defaults for ABORTOP, BWRITE, LEASE,
POLL, REVOKE and STRATEGY. Various stuff spread over the entire
tree belongs here.
2. Change VOP_BLKATOFF to a normal function in cd9660.
3. Kill VOP_BLKATOFF, VOP_TRUNCATE, VOP_VFREE, VOP_VALLOC. These
are private interface functions between UFS and the underlying
storage manager layer (FFS/LFS/MFS/EXT2FS). The functions now
live in struct ufsmount instead.
4. Remove a kludge of VOP_ functions in all filesystems, that did
nothing but obscure the simplicity and break the expandability.
If a filesystem doesn't implement VOP_FOO, it shouldn't have an
entry for it in its vnops table. The system will try to DTRT
if it is not implemented. There are still some cruft left, but
the bulk of it is done.
5. Fix another VCALL in vfs_cache.c (thanks Bruce!)
Notes:
svn path=/head/; revision=30474
|
| |
|
|
|
|
|
| |
This patch does the same thing, with no change in semantics.
Notes:
svn path=/head/; revision=30418
|
| |
|
|
|
|
|
|
|
| |
lower layer (LFS/FFS/?) like the rest of the ihash functions.
Otherwise it is impossible to make a lower layer that doesn't use the
ihash facility.
Notes:
svn path=/head/; revision=30402
|
| |
|
|
| |
Notes:
svn path=/head/; revision=26641
|
| |
|
|
|
|
|
| |
Removed trailing newline from panic messages.
Notes:
svn path=/head/; revision=24492
|
| |
|
|
|
|
|
|
|
| |
form `tv = time'. Use a new function gettime(). The current version
just forces atomicicity without fixing precision or efficiency bugs.
Simplified some related valid accesses by using the central function.
Notes:
svn path=/head/; revision=24101
|
| |
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=16322
|
| |
|
|
| |
Notes:
svn path=/head/; revision=13260
|
| |
|
|
|
|
|
|
| |
ext2fs still uses #if in many cases where the rest of the kernel uses
#ifdef (for QUOTA...).
Notes:
svn path=/head/; revision=12746
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12288
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12147
|
|
|
file for GPL restrictions. This code was ported to the BSD platform
by Godmar Back <gback@facility.cs.utah.edu> and specifically to FreeBSD
by John Dyson. This code is still green and should be used with caution.
Additional changes to UFS necessary to make this code work will be commited
seperately.
Submitted by: Godmar Back <gback@facility.cs.utah.edu>
Obtained from: Lites/Mach4
Notes:
svn path=/head/; revision=12115
|