Displaying 3 results from an estimated 3 matches for "zfs_read".
Did you mean:
vfs_read
2010 Jan 12
0
dmu_zfetch_find - lock contention?
...unix`mutex_vector_enter+0x99
zfs`dmu_zfetch_find+0x1f9
zfs`dmu_zfetch+0xc9
zfs`dbuf_read+0x27a
zfs`dmu_buf_hold_array_by_dnode+0x287
zfs`dmu_buf_hold_array+0x81
zfs`dmu_read_uio+0x49
zfs`zfs_read+0x15e
zfs`zfs_shim_read+0xc
genunix`fop_read+0x31
genunix`read+0x188
unix`sys_syscall+0x17b
1861
unix`mutex_delay_default+0xc
unix`mutex_vector_enter+0x99
zfs`dmu_zfetch_find+0x1b8...
2007 Jul 23
12
GRUB, zfs-root + Xen: Error 16: Inconsistent filesystem structure
...the first 128k of compressed data from the zfs
root, decompresses the data to address 0x100000, and the attempt to
read the next 128k block from xen.gz fails because the DNODE data is
overwritten. Things start to fail when we find
"DNODE->dn_datablkszsec == 35656" (should be 256) in zfs_read(), that is,
a datablk size of ~18mbytes instead of the expected 128kbytes.
Problem #1:
===========
fsys_zfs.c is supposed to use the following memory map:
* (memory addr) MOS DNODE ZFS_SCRATCH
* | | |
* +-------V---------V----------V---...
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...{
- if ((errnum = get_objset_mdn(MOS, current_bootfs,
- ¤t_bootfs_obj, mdn, stack))) {
+ if (errnum = get_objset_mdn(MOS, current_bootfs,
+ ¤t_bootfs_obj, mdn, stack)) {
grub_memset(current_bootfs, 0, MAXNAMELEN);
return (0);
}
@@ -1515,7 +1769,7 @@ zfs_read(char *buf, int len)
*/
uint64_t blkid = filepos / blksz;
- if ((errnum = dmu_read(DNODE, blkid, file_buf, stack)))
+ if (errnum = dmu_read(DNODE, blkid, file_buf, stack))
return (0);
file_start = blkid * blksz;
diff -r 7c12aaa128e3 -r c2e11847cac0 tools/libfsimage/zfs/fsys_zfs.h...