search for: virtual_size

Displaying 20 results from an estimated 96 matches for "virtual_size".

2020 Apr 15
0
[PATCH nbdkit 4/9] common/regions: Use new vector type to store the list of regions.
...ons. */ static inline size_t __attribute__((__nonnull__ (1))) -nr_regions (struct regions *regions) +nr_regions (struct regions *rs) { - return regions->nr_regions; + return rs->size; } /* Return the virtual size of the disk. */ static inline int64_t __attribute__((__nonnull__ (1))) -virtual_size (struct regions *regions) +virtual_size (regions *rs) { - if (regions->nr_regions == 0) + if (rs->size == 0) return 0; else - return regions->regions[regions->nr_regions-1].end + 1; + return rs->ptr[rs->size-1].end + 1; } /* Look up the region corresponding to...
2005 Sep 19
0
1.0alpha2: two asserts/cores
...wn_charset = 0, search_header = 0} (gdb) print *input $2 = {v_offset = 1530, stream_errno = 0, mmaped = 0, closed = 0, seekable = 0, eof = 0, real_stream = 0xb9c78} (gdb) print *part $3 = {parent = 0xb2188, next = 0x0, children = 0xb2228, physical_pos = 1500, header_size = {physical_size = 857, virtual_size = 875, lines = 0}, body_size = {physical_size = 551367, virtual_size = 558548, lines = 0}, flags = 65, context = 0x0} (gdb) up #5 0x00063464 in message_body_search_ctx (ctx=0xffbff3dc, input=0xb9ca0, part=0xb2188) at message-body-search.c:408 408 if (message_bod...
2014 Jun 13
3
[PATCH 0/2] sparsify: Add --tmp option to allow specifying temporary directory or block device.
The first patch is just some simple refactoring. See the second patch for a description of the new virt-sparsify --tmp option. I tested this using a loopback device as my temporary block device, and it seems to work fine for me. Federico .. this needs a BZ :-) Rich.
2005 Sep 07
0
1.0alpha1: new assert/core
...set = 0, search_header = 0} (gdb) print *input $2 = {v_offset = 1387, stream_errno = 0, mmaped = 0, closed = 0, seekable = 0, eof = 0, real_stream = 0xb95c8} (gdb) print part *part $3 = {parent = 0xb1918, next = 0xb19b8, children = 0x0, physical_pos = 1384, header_size = {physical_size = 93, virtual_size = 98, lines = 0}, body_size = {physical_size = 4312, virtual_size = 4428, lines = 116}, flags = 72, context = 0x0} (gdb) print found $4 = 0 (gdb) print part->physical_pos $5 = 1384 (gdb) print part->parte ent $6 = (struct message_part *) 0xb1918 (gdb) print *(part->part ent) $7 = {par...
2005 Aug 22
0
Segfault in imap
...c:334 #6 0x080a045a in io_loop_handler_run (ioloop=0x80be9b0) at ioloop-poll.c:184 #7 0x0809f9d9 in io_loop_run (ioloop=0x80be9b0) at ioloop.c:230 #8 0x08060877 in main (argc=1, argv=0xbffffa44, envp=0xbffffa4c) at main.c:229 (gdb) p *data $1 = {flags = 0, date = 0, received_date = 1124608407, virtual_size = 2870, physical_size = 2856, sent_date = {time = -1, timezone = 0}, parse_line = { field_idx = 0, start_pos = 0, end_pos = 0, line_num = 0, cache = 0}, parse_line_num = 0, parts = 0x0, envelope = 0x0, body = 0x0, bodystructure = 0x0, uid_string = 0x0, envelope_data = 0x0, seq = 11473...
2020 Apr 15
18
[PATCH nbdkit 0/9] Generic vector, and pass $nbdkit_stdio_safe to shell scripts.
This was a rather longer trip around the houses than I anticipated! The basic purpose of the patch series is to set $nbdkit_stdio_safe to "0" or "1" in sh and eval plugin scripts. To do that, I ended up adding a nicer way to manipulate environ lists, and to do that, I ended up adding a whole generic vector implementation which is applicable in a lot of different places.
2015 Nov 10
1
[PATCH] OCaml tools: use open_guestfs everywhere
...t;--tmp prebuilt:file: %s: file format is not qcow2") file; if not (g#disk_has_backing_file file) then @@ -97,7 +95,7 @@ let run indisk outdisk check_tmpdir compress convert | Prebuilt_file _ -> () | Directory tmpdir -> (* Get virtual size of the input disk. *) - let virtual_size = (new G.guestfs ())#disk_virtual_size indisk in + let virtual_size = (open_guestfs ())#disk_virtual_size indisk in if verbose () then printf "input disk virtual size is %Ld bytes (%s)\n%!" virtual_size (human_size virtual_size); @@ -153,9 +151,7 @@ You can ig...
2006 Jan 31
1
beta2: strange assert
..._flags = 0x47b3c <index_mail_get_flags>, get_keywords = 0x47b88 <index_mail_get_keywords>, get_parts = 0x47d0c <index_mail_get_parts>, get_received_date = 0x37224 <mbox_mail_get_received_date>, get_date = 0x47db8 <index_mail_get_date>, get_virtual_size = 0x47f60 <index_mail_get_virtual_size>, get_physical_size = 0x37368 <mbox_mail_get_physical_size>, get_first_header = 0x4a510 <index_mail_get_first_header>, get_headers = 0x4a274 <index_mail_get_headers>, get_header_stream = 0x4a570 <index_mail_ge...
2003 Jul 07
2
Date sort-order ignoring timezone, and a few Q's.
...lf" option to the appendfile transport which seems to work fine with 0.99.10 (though not 0.99.9.1, maybe because of 2003-06-04 17:39 in Changelog). It seems Dovecot is using the ,W= Maildir tag for some type of size instead of ,S= but I haven't traced far enough to work out what exactly W/virtual_size means, am I right in guessing that it might be 'wire size' i.e. message-size-with-CRLF-line-endings? (If so, use_crlf in exim.conf can be augmented with "maildir_tag = ,W=$message_size" to help keep overheads to a minimum). And, one final question: for a dual-stack machine to li...
2007 Nov 15
1
imap process consuming 100% CPU (Dovecot 1.0.3)
....c" > > (dbx) list > > 107 } while (i_stream_read_data(input, &msg, &size, 1) > 0); > > 108 > > 109 i_stream_skip(input, 1); > > 110 body->physical_size++; > > 111 > > 112 body->virtual_size = body->physical_size + missing_cr_count; > > 113 i_assert(body->virtual_size >= body->physical_size); > > 114 } > > 115 > > 116 void message_size_add(struct message_size *dest, > > (dbx) dump > > message_get_body_size(input =...
2010 May 05
1
VDI size on local repository always 0
Hello guys, I''m working on a cloud computing project involving Xen Hypervisor. I looked for the issue described in the subject in old posts but no success. I''m using the local storage repository and I can''t set physical_utilisation and virtual_utilisation via xen API because XendVDI.py has hardcoded the 0 value for local repository while is passed for QcoW storage
2005 Jun 04
0
Crash and Assertion Error
...c:334 #6 0x0809e64a in io_loop_handler_run (ioloop=0x80bb9b0) at ioloop-poll.c:184 #7 0x0809dd69 in io_loop_run (ioloop=0x80bb9b0) at ioloop.c:218 #8 0x08060587 in main (argc=1, argv=0xbffffa44, envp=0xbffffa4c) at main.c:228 (gdb) p *data $2 = {flags = 0, date = 0, received_date = 1117844856, virtual_size = 2735, physical_size = 2721, sent_date = {time = -1, timezone = 0}, parse_line = { field_idx = 4294967295, start_pos = 67, end_pos = 118, line_num = 29, cache = 1}, parse_line_num = 53, parts = 0x80cb018, envelope = 0x0, body = 0x0, bodystructure = 0x0, uid_string = 0x0, envelope_da...
2020 Apr 15
1
Re: [PATCH nbdkit 4/9] common/regions: Use new vector type to store the list of regions.
...he pattern - forward declarations don't trigger -Wshadow, but implementations do. > { > - return regions->nr_regions; > + return rs->size; > } > > /* Return the virtual size of the disk. */ > static inline int64_t __attribute__((__nonnull__ (1))) > -virtual_size (struct regions *regions) > +virtual_size (regions *rs) here, you both dropped 'struct' and did the rename; the rename because it is the implementation. > +++ b/common/regions/regions.c Overall, the rest of the patch is reasonable (mostly mechanical due to the renames). -- Eric...
2008 Aug 29
1
Dovecot-1.1.2 assertion failure in preparsed_parse_next_header_init
...#39;, want_count = 0, hdr_parser_ctx = 0x0, parse_next_block = 0x80cc1e0 <preparsed_parse_next_header_init>, part_seen_content_type = 0, broken = 1} (gdb) p *ctx->part $5 = {parent = 0x812e778, next = 0x0, children = 0x0, physical_pos = 688, header_size = {physical_size = 90, virtual_size = 93, lines = 0}, body_size = {physical_size = 505, virtual_size = 514, lines = 9}, flags = 72, context = 0x0} (gdb) p *ctx->input $6 = {v_offset = 759, stream_errno = 0, mmaped = 0, blocking = 1, closed = 0, seekable = 1, eof = 0, real_stream = 0x81135f0}
2008 Dec 02
1
Panic 1.1.x
...0xbfab4354) at index-mail.c:818 data = (struct index_mail_data *) 0x80f12fc #14 0x08064c82 in mbox_mail_get_stream (_mail=0x80f1280, hdr_size=0xbfab4340, body_size=0xbfab432c, stream_r=0xbfab4354) at mbox-mail.c:312 mail = <value optimized out> #15 0x0807b9c6 in index_mail_get_virtual_size (_mail=0x80f1280, size_r=0xbfab43f0) at index-mail.c:365 data = (struct index_mail_data *) 0x80f12fc hdr_size = {physical_size = 0, virtual_size = 0, lines = 0} body_size = {physical_size = 580703221134869339, virtual_size = 13811206796352623048, lines = 134770482} i...
2016 Aug 19
2
Crash on opening mailbox
...et = <optimized out> __FUNCTION__ = "message_get_header_size" #26 0x00007f328d654ff7 in imap_msgpart_get_partial_header (mail=<optimized out>, msgpart=<optimized out>, msgpart=<optimized out>, result_r=0x7ffc6c9dfb40, have_crlfs_r=<synthetic pointer>, virtual_size_r=0x7ffc6c9dfa58, mail_input=0x7df610) at imap-msgpart.c:395 hdr_fields = 0x7cdc38 hdr_size = {physical_size = 1069, virtual_size = 0, lines = 19} hdr_count = <optimized out> input = 0x7e0850 has_nuls = false #27 imap_msgpart_open_normal (result_r=0x7ff...
2005 Dec 19
0
alpha5: assert and core
...quot;, unknown_charset = 0, search_header = 0} (gdb) print *input $2 = {v_offset = 939, stream_errno = 0, mmaped = 0, closed = 0, seekable = 0, eof = 0, real_stream = 0xc23e8} (gdb) print *part $3 = {parent = 0x0, next = 0x0, children = 0x0, physical_pos = 0, header_size = {physical_size = 909, virtual_size = 909, lines = 0}, body_size = {physical_size = 384, virtual_size = 390, lines = 6}, flags = 72, context = 0x0} (gdb) print part_ctx $4 = {body_ctx = 0xffbff3d4, translation = 0x0, decode_buf = 0x0, match_buf = 0x0, content_type = 0xab510 "text/plain", content_charset = 0xab4f8 &q...
2016 May 04
2
Re: [libvirt] Creating a storage volume for raw format file
...</target> </volume>""" stat = os.stat(src) qmeu_info = images.qemu_img_info(src) return xml.format(**{'name': name, 'capacity': qmeu_info.virtual_size, 'allocation': qmeu_info.disk_size, 'src_path': src, 'format': qmeu_info.file_format, 'mode': oct(stat.st_mode)[-3:],...
2006 Dec 10
2
segfault in RC15
...) bt full #0 maildir_save_file_get_path (_t=0x80d72c0, seq=37) at maildir-save.c:242 _t = (struct mailbox_transaction_context *) 0x80d72c0 seq = 37 ctx = (struct maildir_save_context *) 0x0 mf = (struct maildir_filename *) 0x80d72c0 #1 0x80682ca in maildir_mail_get_virtual_size (_mail=0x80e9440) at maildir-mail.c:145 mail = (struct index_mail *) 0x80e9440 mbox = (struct maildir_mailbox *) 0x80d8c40 data = (struct index_mail_data *) 0x80e94a4 path = 0x80e94a4 "" fname = 0x80d72c0 "@\214\r\b??\f\b\004" virt...
2011 Apr 10
1
Segfaul probably during dsync
...76ac92 in virtual_sync_backend_box (ctx=0xdebcdb0, bbox=0xdcb8e38) at virtual-sync.c:725 sync_flags = <value optimized out> status = {messages = 121, recent = 0, unseen = 111, uidvalidity = 1225530594, uidnext = 182153, first_unseen_seq = 0, first_recent_uid = 182152, highest_modseq = 0, virtual_size = 0, keywords = 0x0, cache_fields = 0x0, nonpermanent_modseqs = 0} ret = <value optimized out> __FUNCTION__ = "virtual_sync_backend_box" #7 0x00002ba91276b661 in virtual_storage_sync_init (box=0xcf524c0, flags=MAILBOX_SYNC_FLAG_FIX_INCONSISTENT) at virtual-sync.c:1400 sync_ctx =...