Displaying 18 results from an estimated 18 matches for "prev_offset".
2020 Oct 17
1
[libnbd PATCH] info: Keep request within 4G bound
...< (b) ? (a) : (b))
+
static const char *progname;
static FILE *fp;
static bool list_all = false;
@@ -267,7 +269,7 @@ main (int argc, char *argv[])
fprintf (fp, "%" PRIi64 "\n", size);
}
else if (map) { /* --map (!list_all) */
- uint64_t offset, prev_offset;
+ uint64_t offset, prev_offset, align, max_len;
/* Did we get the requested map? */
if (!nbd_can_meta_context (nbd, map)) {
@@ -276,6 +278,8 @@ main (int argc, char *argv[])
progname, map);
exit (EXIT_FAILURE);
}
+ align = nbd_get_block_size (nbd, LIBNB...
2005 Sep 20
1
timer interrupts, virqs, irq balance questions
...hind the previous
value of processed_system_time, and that the previous value was set by
the OTHER vcpu.
Timer ISR/0: Time went backwards:
delta=-44611438 cpu_delta=15388562 shadow=69081255546
off=254172405 processed=69380039389 cpu_processed=69320039389
last_modified=CPU1, prev_st=69291796314, prev_offset=92519230
0: 69320039389
1: 69380000000
Timer ISR/0: Time went backwards:
delta=-1374402 cpu_delta=528625598 shadow=69081255546
off=777409441 processed=69860039389 cpu_processed=69330039389
last_modified=CPU1, prev_st=69291796314, prev_offset=571453258
0: 69330039389
1: 69860000000
Timer ISR/1:...
2014 Apr 08
1
Rebuilding message guid in sdbox
...ailboxes/INBOX/dbox-Mails/dovecot.index"
reveals that there are very old mails (about 5 years ago) without any
guid like that one:
RECORD: seq=1, uid=1560, flags=0x00
- ext 1 modseq : 16043 (ab3e000000000000)
- ext 3 cache : 396 (8c010000)
- cache offset=396 size=20, prev_offset = 0
- guid:
So, my question is: is there a way to force dovecot to assign a guid to
those messages?
Best Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4303 bytes
Desc: S/MIME Cryptographic Signa...
2020 Sep 26
1
[PATCH nbdinfo proposal] info: Add a --map option for displaying allocation metadata
This is a rough-and-ready implementation of nbdinfo --map option, to
display the allocation and other metadata of NBD exports. I only
tested it lightly against nbdkit. It needs at least some tests.
Command like these should work:
nbdinfo --map nbd://localhost
nbdinfo --map=qemu:dirty-bitmap nbd://localhost
Rich.
2007 Apr 03
2
Lock file issues
...51 app02 dovecot: IMAP(user): Corrupted transaction log
file /mail_home3/j/ji/user/Maildir/dovecot.index.log: end_offset (23440)
> current sync_offset (23368)
Apr 3 08:37:51 app02 dovecot: IMAP(user): file
mail-index-sync-update.c: line 40 (mail_index_sync_update_log_offset):
assertion failed: (prev_offset >= map->hdr.log_file_int_offset ||
prev_seq > map->hdr.log_file_seq)
Apr 3 08:37:51 app02 dovecot: IMAP(user): Raw backtrace: imap
[0x80a8c1a] -> imap [0x80a873f] -> imap [0x8091fcf] ->
imap(mail_index_sync_update_index+0x2a1) [0x80935c5] ->
imap(mail_index_sync_commit+0xbf...
2020 Sep 26
0
[PATCH nbdinfo v2] info: Add a --map option for displaying allocation metadata.
...d_add_meta_context (nbd, map);
if (nbd_connect_uri (nbd, argv[optind]) == -1) {
fprintf (stderr, "%s\n", nbd_get_error ());
@@ -225,6 +242,44 @@ main (int argc, char *argv[])
printf ("%" PRIi64 "\n", size);
}
+ else if (map) {
+ uint64_t offset, prev_offset;
+
+ /* Did we get the requested map? */
+ if (!nbd_can_meta_context (nbd, map)) {
+ fprintf (stderr,
+ "%s: --map: server does not support metadata context \"%s\"\n",
+ argv[0], map);
+ exit (EXIT_FAILURE);
+ }
+
+ size = nbd_ge...
2020 Sep 26
2
[PATCH nbdinfo v2] info: Add a --map option for displaying allocation metadata.
Fixes bugs with JSON output in the previous patch, and adds some tests.
Rich.
2012 Aug 30
0
deliver doesn't update cache index with mbox
...0)
+ - ext 1 modseq : 11163 (9b2b000000000000)
- ext 2 mbox : 42923286 (16f58e0200000000)
- - ext 3 cache : 0 (00000000)
+ - ext 3 cache : 6385696 (20706100)
- ext 4 header-md5: (00000000000000000000000000000000)
+ - cache offset=6385696 size=488, prev_offset = 0
+ - hdr.BCC:
+ - hdr.CC:
+ - hdr.CONTENT-TYPE: 18: Content-Type: text/plain; charset=us-ascii
+ - hdr.DATE: 13: Date: Thu, 30 Aug 2012 19:37:24 +0200
<some other hdr.xxxxx lines removed>
+ - size.virtual: 1081 (3904000000000000)
Same patterns from record: 25664-25675
What...
2015 May 14
2
Alternate Storage altmove not working bug
...did a doveadm dump on the destination mailbox's index and what I see is a
lot of this:
RECORD: seq=104, uid=104, flags=0x48 (Seen)
- ext 0 keywords : (0000)
- ext 1 modseq : 12 (0c00000000000000)
- ext 3 cache : 14004 (b4360000)
- cache offset=14004 size=76, prev_offset = 0
- mime.parts:
(48000000b404000000000000cc04000000000000e542000000000000fd4300000000000018010000)
(pos=0 hdr.p=1204 hdr.v=1228 body.p=17125 body.v=17405 flags=48)
- size.physical: 18329 (9947000000000000)
- date.received: 1418235366 (e68d8854)
Although the 0x40 flag is set, the file...
2008 Sep 09
1
1.1.3: imap crashes with SIGSEGV
...,
sync_handlers_initialized = 0, expunge_handlers_set = 0,
expunge_handlers_used = 0, cur_ext_ignore = 1, internal_update = 0,
errors = 1}
thdr = (const struct mail_transaction_header *) 0x87e2f70
tdata = (const void *) 0x87e3a60
prev_seq = 4
start_offset = <value optimized out>
prev_offset = 29300
ret = 1
had_dirty = false
reset = false
__PRETTY_FUNCTION__ = "mail_index_sync_map"
#4 0x080b078f in mail_index_map (index=0x87b3098,
type=MAIL_INDEX_SYNC_HANDLER_HEAD) at mail-index-map.c:953
ret = <value optimized out>
__PRETTY_FUNCTION__ = "mail_index_map...
2020 Oct 06
2
[PATCH libnbd] info: Write output atomically.
...= NULL) {
@@ -250,7 +264,7 @@ main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
- printf ("%" PRIi64 "\n", size);
+ fprintf (fp, "%" PRIi64 "\n", size);
}
else if (map) { /* --map (!list_all) */
uint64_t offset, prev_offset;
@@ -269,7 +283,7 @@ main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
- if (json_output) printf ("[\n");
+ if (json_output) fprintf (fp, "[\n");
for (offset = 0; offset < size;) {
prev_offset = offset;
if (nbd_block_status (nbd, size...
2011 Nov 26
2
using dsync to convert mailboxes looses caching options
...dr.X-PRIORITY hdr - tmp
1970-01-01 01:00
...
and dst cached message for example:
RECORD: seq=57, uid=12207, flags=0x09 (Seen Answered)
- ext 1 modseq : 1 (0100000000000000)
- ext 3 cache : 5516 (8c150000)
- cache offset=5516 size=92, prev_offset = 0
- guid: 1321895282.XXXt,S=7399760,W=7496225
- date.save: 1322324286 (3e11d14e)
src idx record for this message contains pretty much all fields.
Thanks,
Mark
2014 Oct 20
1
2.2.14 Panic in sync_expunge_range()
...MAIL_INDEX_SYNC_HANDLER_HEAD, sync_handlers_initialized = 0,
expunge_handlers_set = 0, expunge_handlers_used = 0, cur_ext_ignore = 0, internal_update = 0,
errors = 0}
thdr = (const struct mail_transaction_header *) 0x80b5d28
tdata = (const void *) 0x80b5df8
prev_seq = 5
start_offset = 0
prev_offset = 144
ret = 1
had_dirty = false
reset = true
__FUNCTION__ = "mail_index_sync_map"
#11 0xfef1dcbd in mail_index_map (index=0x80b53b0, type=MAIL_INDEX_SYNC_HANDLER_HEAD)
at mail-index-map-read.c:35
ret = 1
__FUNCTION__ = "mail_index_map"
#12 0xfef170e4 in mail_index_try_...
2015 Oct 30
2
IMAP COPY creates invalid index data with zlib and mail_log plugins enabled but zlib_save off
...s.
In this situation, copying a message results in an index entry in the
destination that has all the headers blank, like this:
RECORD: seq=5, uid=182415, flags=0x08 (Seen)
- ext 1 modseq : 3 (0300000000000000)
- ext 2 cache : 2352 (30090000)
- cache offset=2352 size=120, prev_offset = 0
- hdr.FROM:
- hdr.MESSAGE-ID:
- hdr.SUBJECT:
- hdr.DATE:
- hdr.BCC:
- hdr.CC:
- hdr.CONTENT-TYPE:
- hdr.IN-REPLY-TO:
- hdr.NEWSGROUPS:
- hdr.PRIORITY:
- hdr.REFERENCES:
- hdr.REPLY-TO:
- hdr.TO:
- hdr.X-PRIORITY:
For these copies, the mai...
2012 Apr 30
2
Dovecot/doveadm crash
Having a problem with a mailbox. I've been trying to rebuild - but
doveadm force-resync crashes. This is mdbox with sis.
doveadm purge -u dmiller at amfes.com
doveadm(dmiller at amfes.com): Panic: file istream.c: line 466
(i_stream_grow_buffer): assertion failed: (stream->max_buffer_size > 0)
doveadm(dmiller at amfes.com): Error: Raw backtrace:
2020 Oct 27
6
[PATCH libnbd 0/5] info: --map: Coalesce adjacent extents of the same type.
This adds coalescing of adjacent extents of the same type, as
mentioned by Eric Blake in the commit message here:
https://github.com/libguestfs/libnbd/commit/46072f6611f80245846a445766da071e457b00cd
The patch series is rather long because it detours through adding the
<vector.h> library from nbdkit into libnbd and replacing ad hoc uses
of realloc, char ** etc in various places.
Rich.
2018 Oct 09
3
index corruption weirdness
...c0}, unknown_extensions = 0x0, type =
MAIL_INDEX_SYNC_HANDLER_HEAD, sync_handlers_initialized = 0,
expunge_handlers_set = 0, expunge_handlers_used = 0, cur_ext_ignore = 0,
internal_update = 0, errors = 0}
thdr = 0x1345bb8
tdata = 0x13a54e4
prev_seq = 105
start_offset = <optimized out>
prev_offset = 14084
ret = <optimized out>
had_dirty = <optimized out>
reset = false
__FUNCTION__ = "mail_index_sync_map"
#10 0x00007f4372f6a6e4 in mail_index_map (index=index at entry=0x1346410,
type=type at entry=MAIL_INDEX_SYNC_HANDLER_HEAD) at
mail-index-map-read.c:433
ret = <...
2018 Feb 23
2
Assertion during dsync receive
...ache = 0x1c14790, buffer = 0x1c0eab0, field_seen = 0x1c0ea70, bitmask_pos = {arr = {buffer = 0x1bcdec0, element_size = 4}, v = 0x1bcdec0, v_modifiable = 0x1bcdec0}, field_file_map = 0x1bcde20, field_seen_value = 141 '\215', new_msg = true}
cache_view = 0x1c19230
cache_rec = {prev_offset = 0, size = 876}
message_count = 1217766
seq = <optimized out>
used_fields_count = <optimized out>
orig_fields_count = 33
idx_hdr = <optimized out>
#7 mail_cache_compress_write (unlock=<synthetic pointer>, temp_path=0x1bcddd0 "/g...