search for: file_start

Displaying 4 results from an estimated 4 matches for "file_start".

2006 May 18
0
Documentation for the plugins you use
...in my application''s scripts directory and invoke it with: ruby script/document_plugins Regards, Jeff document_plugins.rb: -------------------- require ''rdoc/rdoc'' dir = Dir.new("vendor/plugins") outfile = File.new("plugins.html", "w") file_start=<<''FILESTART'' <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Plugins --> <...
2010 Mar 03
5
[PATCH, PV-GRUB DOC] Add details to PV-GRUB documentation
Add a couple of documentation details about PV-GRUB support - the menu.lst content can be passed as a ramdisk. - virtual partitions are not supported. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> diff -r b8d2a4134a68 stubdom/README --- a/stubdom/README Wed Mar 03 17:41:58 2010 +0000 +++ b/stubdom/README Wed Mar 03 20:42:53 2010 +0100 @@ -52,11 +52,17 @@ extra =
2008 Jun 27
1
Performance of madvise / msync
...accordingly */ - madvise(data, sizeof(stat_head_t), MADV_WILLNEED | MADV_RANDOM); - } - #endif __rrd_read(rrd->stat_head, stat_head_t, 1); --- 175,180 ---- *************** *** 388,396 **** int ret; #ifdef HAVE_MMAP - ret = msync(rrd_file->file_start, rrd_file->file_len, MS_ASYNC); - if (ret != 0) - rrd_set_error("msync rrd_file: %s", rrd_strerror(errno)); ret = munmap(rrd_file->file_start, rrd_file->file_len); if (ret != 0) rrd_set_error("munmap rrd_file: %s", rrd_strerror(errno));...
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...rub_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 26 20:03:06 2013 +0400 @@ -16,10 +16,17 @@ * along with this program; if not, write to the Free...