#
1d7e7b25 |
| 05-Dec-2021 |
msaitoh <msaitoh@NetBSD.org> |
s/seach/search/
|
#
b6d9574e |
| 21-Mar-2020 |
reinoud <reinoud@NetBSD.org> |
Fix use-after-free issue!
|
#
da34266a |
| 29-Mar-2015 |
riastradh <riastradh@NetBSD.org> |
Complete removal of cred argument from bread in nilfs.
|
#
f61b6169 |
| 28-Mar-2015 |
maxv <maxv@NetBSD.org> |
Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
#
eec85cf7 |
| 15-Oct-2014 |
hannken <hannken@NetBSD.org> |
Change nilfs to vcache.
|
#
9ec4be76 |
| 15-Oct-2014 |
hannken <hannken@NetBSD.org> |
Prepare nilfs for vcache: - Calling getnewvnode() with "mp == NULL" is wrong. Stop attaching a vnode to system file nodes and change nilfs_bread() to translate the block address and then uyse th
Prepare nilfs for vcache: - Calling getnewvnode() with "mp == NULL" is wrong. Stop attaching a vnode to system file nodes and change nilfs_bread() to translate the block address and then uyse the device for the read. - Move the vnode initialisation to nilfs_get_node() and use nilfs_get_node_raw() to initialise the nilfs node only. - Same for nilfs_reclaim() versus nilfs_dispose_node(). - Change nilfs_get_node() to return an unlocked vnode instead of a nilfs node with locked vnode. Adapt nilfs_lookup() and nilfs_root(). - Don't treat unsupported node types (blk, chr ...) as regular, return ENXIO instead. - Fix nilfs_getattr() to mask the mode with ALLPERMS. - Destroy sync_cv before free.
show more ...
|
#
9d2b26f2 |
| 18-Oct-2013 |
christos <christos@NetBSD.org> |
remove unused variable warnings
|
#
0f2c9784 |
| 20-Dec-2012 |
hannken <hannken@NetBSD.org> |
Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> b
Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
show more ...
|
#
f1146e73 |
| 12-Jun-2011 |
rmind <rmind@NetBSD.org> |
Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in
Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
show more ...
|
#
24d9c402 |
| 11-Aug-2010 |
pgoyette <pgoyette@NetBSD.org> |
Keep condvar wmesg's within 8-char limit
|
#
fb62bef9 |
| 21-Jul-2010 |
hannken <hannken@NetBSD.org> |
Make holding v_interlock mandatory for callers of vget().
Announced some time ago on tech-kern.
|
#
cd63900e |
| 24-Jun-2010 |
reinoud <reinoud@NetBSD.org> |
Pullup changes from the write implementation: - remove unnessisary check that would prevent it from mounting newer nilfs images. A field has been added in the segment summary. - store blocks of fil
Pullup changes from the write implementation: - remove unnessisary check that would prevent it from mounting newer nilfs images. A field has been added in the segment summary. - store blocks of files on their virtual block number
show more ...
|
#
dde01096 |
| 29-Jul-2009 |
reinoud <reinoud@NetBSD.org> |
Re-do nilfs_load_super_root() and implement crc checking of read in super root to check for consistency.
Since a new crc-seed is chosen on each new nilfs formatting, older structures will fail the c
Re-do nilfs_load_super_root() and implement crc checking of read in super root to check for consistency.
Since a new crc-seed is chosen on each new nilfs formatting, older structures will fail the crc check.
show more ...
|
#
59cef392 |
| 29-Jul-2009 |
reinoud <reinoud@NetBSD.org> |
Add debugging text to indicate a super root has been found while searching for it.
|
#
ad5a398e |
| 28-Jul-2009 |
reinoud <reinoud@NetBSD.org> |
Enhance/fix read support for sparse files.
Extents read in wich there were no mappings at all were defined would error out and files beginning with a sparse area were erroring out.
|
#
69a586f2 |
| 18-Jul-2009 |
reinoud <reinoud@NetBSD.org> |
Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll repeat my posting to tech-kern here:
NiLFS st
Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll repeat my posting to tech-kern here:
NiLFS stands for New implementation of Logging File System; LFS done right they claim :) It is at version 2 now and is being developed by NTT, the Japanese telecom company and recently put into the linux source tree. See http://www.nilfs.org. The on-disc format is not completely frozen and i expect at least one minor revision to come in time.
The benefits of NiLFS are build-in fine-grained checkpointing, persistent snapshots, multiple mounts and very large file and media support. Every checkpoint can be transformed into a snapshot and v.v. It is said to perform very well on flash media since it is not overwriting pieces apart from a incidental update of the superblock, but that might change. It is accompanied by a cleaner to clean up the segments and recover lost space.
My work is not a port of the linux code; its a new implementation. Porting the code would be more work since its very linux oriented and never written to be ported outside linux. The goal is to be fully interchangable. The code is non intrusive to other parts of the kernel. It is also very light-weight.
The current state of the code is read-only access to both clean and dirty NiLFS partitions. On mounting a dirty partition it rolls forward the log to the last checkpoint. Full read-write support is however planned!
Just as the linux code, mount_nilfs allows for the `head' to be mounted read/write and allows multiple read-only snapshots/checkpoint mounts next to it.
By allowing the RW mount at a different snapshot for read-write it should be possible eventually to revert back to a previous state; i.e. try to upgrade a system and being able to revert to the exact state prior to the upgrade.
Compared to other FS's its pretty light-weight, suitable for embedded use and on flash media. The read-only code is currently 17kb object code on NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory usage is most likely not very different from other uses though maybe a bit higher than FFS.
show more ...
|