Juergen Hannken-Illjes
2014-10-15 09:03:53 UTC
Module Name: src
Committed By: hannken
Date: Wed Oct 15 09:03:53 UTC 2014
Modified Files:
src/sys/fs/nilfs: nilfs_subr.c nilfs_subr.h nilfs_vfsops.c
nilfs_vnops.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/fs/nilfs/nilfs_subr.c
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/nilfs/nilfs_subr.h
cvs rdiff -u -r1.16 -r1.17 src/sys/fs/nilfs/nilfs_vfsops.c
cvs rdiff -u -r1.28 -r1.29 src/sys/fs/nilfs/nilfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Committed By: hannken
Date: Wed Oct 15 09:03:53 UTC 2014
Modified Files:
src/sys/fs/nilfs: nilfs_subr.c nilfs_subr.h nilfs_vfsops.c
nilfs_vnops.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/fs/nilfs/nilfs_subr.c
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/nilfs/nilfs_subr.h
cvs rdiff -u -r1.16 -r1.17 src/sys/fs/nilfs/nilfs_vfsops.c
cvs rdiff -u -r1.28 -r1.29 src/sys/fs/nilfs/nilfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.