search for: file_buf

Displaying 3 results from an estimated 3 matches for "file_buf".

Did you mean: file1buf
2013 Mar 18
27
corruption of active mmapped files in btrfs snapshots
For quite a while, I''ve experienced oddities with snapshotted Firefox _CACHE_00?_ files, whose checksums (and contents) would change after the btrfs snapshot was taken, and would even change depending on how the file was brought to memory (e.g., rsyncing it to backup storage vs checking its md5sum before or after the rsync). This only affected these cache files, so I didn''t give
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...rnum = get_objset_mdn(MOS, current_bootfs, + &current_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 --- a/tools/libfsimage/zfs/fsys_zfs.h Thu Oct 24 22:46:20 2013 +0100 +++ b/tools/libfsimage/zfs/fsys_zfs.h Sat Oct...
2006 Sep 24
1
Add-on patch to support .pls .asx .ram .qtl listing formats
...= 0) + asx_requested = 1; + if (strcmp (util_get_extension (fullpath), "ram") == 0) + ram_requested = 1; + if (strcmp (util_get_extension (fullpath), "qtl") == 0) + qtl_requested = 1; /* check for the actual file */ if (stat (fullpath, &file_buf) != 0) { - /* the m3u can be generated, but send an m3u file if available */ - if (m3u_requested == 0) + /* an listing can be generated, but send an listing file if available */ + if ( (m3u_requested == 0) && (pls_requested == 0) && (asx_requested ==...