Displaying 20 results from an estimated 36 matches for "used_size".
2014 Jan 11
0
Panic: file buffer.c: line 307 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc)
...ot: imap(user at domain):
Error: Corrupted transaction log file
/pracmail/domain/user/mail/.sent-mail/dovecot.index.log seq 16777216:
log file shrank (868 < 6144) (sync_offset=6144)
2014-01-11T09:55:14+01:00 server/a.b.c.d dovecot: imap(user at domain):
Panic: file buffer.c: line 307 (buffer_set_used_size): assertion failed:
(used_size <= buf->alloc)
2014-01-11T09:55:14+01:00 server/a.b.c.d dovecot: imap(user at domain):
Error: Raw backtrace:
/usr/local/dovecot-2.2.10/lib/dovecot/libdovecot.so.0(+0x6c2fa)
[0x7f0704fa22fa] ->
/usr/local/dovecot-2.2.10/lib/dovecot/libdovecot.so.0(+0x6c366)
[0...
2008 Feb 19
2
1.1b16: (buffer_set_used_size): assertion failed: (used_size <= buf->alloc)
I haven't seen this before 1.1b16, it happened to two users today while
they were searching
using fts.
Feb 18 16:41:36 hill dovecot: IMAP(username): file buffer.c: line 288
(buffer_set_used_size): assertion failed: (used_size <= buf->alloc)
Feb 18 16:41:36 hill dovecot: child 53560 (imap) killed with signal 6
I can probably narrow it down to an example mail if needed.
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU Gene...
2013 Dec 12
1
Panic: file buffer.c: assertion failed: (used_size <= buf->alloc)
Hi,
We have a crash in dovecot 2.2.7
2013-12-11 10:38:44 imap(xxx at example.com): Panic: file buffer.c: line 307
(buffer_set_used_size): assertion failed: (used_size <= buf->alloc)
2013-12-11 10:38:44 imap(xxx at example.com): Error: Raw backtrace: /opt/dovecot-
2.2.7/lib/dovecot/libdovecot.so.0(+0x672a2) [0x7f576b9742a2] -> /opt/dovecot-
2.2.7/lib/dovecot/libdovecot.so.0(+0x67306) [0x7f576b974306] -> /opt/dovecot-
2.2...
2007 Feb 27
1
Xen Enterprise and templates
...ootfs-type ''ext3'')
(description ''Debian for XenEnterprise'')
(distrib debian)
(root-vbd sda1)
(boot_params "quiet")
(filesystem
(uri root.tar.bz2)
(function root)
(type tar-wholedisk)
(vbd sda)
(total_size 5368709120)
(used_size 455628081)
)
(filesystem
(uri ''swap.img'')
(function swap)
(type img)
(vbd sdb)
(total_size 536870912)
(used_size 536870912)
)
)
I have tried to put a root.tar.bz2 with debian etch contents and then
create a new etch.xgt with this new tar.bz2 and it...
2024 Sep 01
1
geo-rep will not initialize
...ver=$(gluster --version
| head -1 | cut -f2 -d " "); echo $ver; }; source /etc/profile &&
do_verify;'\'''
+ ver=11.1
+ '[' -z 11.1 ']'
+ ERRORS=0
++ primary_stats j
++ PRIMARYVOL=j
++ local inet6=
++ local d
++ local i
++ local disk_size
++ local used_size
++ local ver
++ local m_status
+++ mktemp -d -t gverify.sh.XXXXXX
++ d=/tmp/gverify.sh.7QpBxa
++ '[' '' = inet6 ']'
++ glusterfs -s localhost '--xlator-option=*dht.lookup-unhashed=off'
--volfile-id j -l
/var/log/glusterfs/geo-replication/gverify-primarymnt.log
/tm...
2012 Mar 08
3
[PATCH 0/3] kinit: Allow mount options
This patch series allows user-specified mount commands to be
sent in via kernel command line ("kinit_mount=...") or via
an embedded /etc/fstab file.
The first patch is a cleanup of a patch sent last November
by San Mehat (http://web.archiveorange.com/archive/v/EazJNBMORV2U7E0coh5h);
the next two are small improvements or bug fixes.
2018 Dec 13
0
[PATCH net-next 3/3] vhost: access vq metadata through kernel virtual address
...gt;desc_ring);
+ vhost_uninit_vmap(&vq->used_ring);
+}
+
+static int vhost_setup_vmaps(struct vhost_virtqueue *vq, unsigned long avail,
+ unsigned long desc, unsigned long used)
+{
+ size_t event = vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0;
+ size_t avail_size, desc_size, used_size;
+ int ret;
+
+ vhost_clean_vmaps(vq);
+
+ avail_size = sizeof(*vq->avail) +
+ sizeof(*vq->avail->ring) * vq->num + event;
+ ret = vhost_init_vmap(&vq->avail_ring, avail, avail_size, false);
+ if (ret) {
+ vq_err(vq, "Fail to setup vmap for avail ring!\n");
+ go...
2013 Sep 06
0
[PATCH RESEND v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.
..._notify(struct virtqueue *vq)
static void mic_del_vq(struct virtqueue *vq, int n)
{
struct mic_vdev *mvdev = to_micvdev(vq->vdev);
- struct vring *vr = (struct vring *) (vq + 1);
+ struct vring *vr = (struct vring *)(vq + 1);
- free_pages((unsigned long) vr->used,
- get_order(mvdev->used_size[n]));
+ free_pages((unsigned long) vr->used, get_order(mvdev->used_size[n]));
vring_del_virtqueue(vq);
mic_card_unmap(mvdev->mdev, mvdev->vr[n]);
mvdev->vr[n] = NULL;
@@ -274,8 +273,8 @@ static struct virtqueue *mic_find_vq(struct virtio_device *vdev,
/* Allocate and reassign...
2014 Nov 13
0
Bug (?) while listing imap folder
....
Server Log:
---------------------
Nov 13 13:53:57 mb00 dovecot: imap-login: Login: user=<soumplis>,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=60544, secured,
session=<pXzTKrwH0wB/AAAB>
Nov 13 13:53:59 mb00 dovecot: imap(soumplis): Panic: file buffer.c: line
309 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc)
Nov 13 13:53:59 mb00 dovecot: imap(soumplis): Error: Raw backtrace:
/usr/lib64/dovecot/libdovecot.so.0(+0x7466e) [0x7f06237f466e] ->
/usr/lib64/dovecot/libdovecot.so.0(+0x7474e) [0x7f06237f474e] ->
/usr/lib64/dovecot/libdovecot.so.0(i_fat...
2018 Dec 13
11
[PATCH net-next 0/3] vhost: accelerate metadata access through vmap()
Hi:
This series tries to access virtqueue metadata through kernel virtual
address instead of copy_user() friends since they had too much
overheads like checks, spec barriers or even hardware feature
toggling.
Test shows about 24% improvement on TX PPS. It should benefit other
cases as well.
Please review
Jason Wang (3):
vhost: generalize adding used elem
vhost: fine grain userspace memory
2018 Dec 13
11
[PATCH net-next 0/3] vhost: accelerate metadata access through vmap()
Hi:
This series tries to access virtqueue metadata through kernel virtual
address instead of copy_user() friends since they had too much
overheads like checks, spec barriers or even hardware feature
toggling.
Test shows about 24% improvement on TX PPS. It should benefit other
cases as well.
Please review
Jason Wang (3):
vhost: generalize adding used elem
vhost: fine grain userspace memory
2013 Jul 25
1
[PATCH 4/5] Intel MIC Card Driver Changes for Virtio Devices.
...quot;mic_virtio.h"
+
+#define VIRTIO_SUBCODE_64 0x0D00
+
+#define MIC_MAX_VRINGS 4
+
+struct mic_vdev {
+ struct virtio_device vdev;
+ struct mic_device_desc __iomem *desc;
+ struct mic_device_ctrl __iomem *dc;
+ struct mic_device *mdev;
+ void __iomem *vr[MIC_MAX_VRINGS];
+ int used_size[MIC_MAX_VRINGS];
+ struct completion reset_done;
+ struct mic_irq *virtio_cookie;
+ int c2h_vdev_db;
+};
+
+static struct mic_irq *virtio_config_cookie;
+#define to_micvdev(vd) container_of(vd, struct mic_vdev, vdev)
+
+static inline struct device *dev(struct mic_vdev *mvdev)
+{
+ return mvdev->...
2013 Jul 25
1
[PATCH 4/5] Intel MIC Card Driver Changes for Virtio Devices.
...quot;mic_virtio.h"
+
+#define VIRTIO_SUBCODE_64 0x0D00
+
+#define MIC_MAX_VRINGS 4
+
+struct mic_vdev {
+ struct virtio_device vdev;
+ struct mic_device_desc __iomem *desc;
+ struct mic_device_ctrl __iomem *dc;
+ struct mic_device *mdev;
+ void __iomem *vr[MIC_MAX_VRINGS];
+ int used_size[MIC_MAX_VRINGS];
+ struct completion reset_done;
+ struct mic_irq *virtio_cookie;
+ int c2h_vdev_db;
+};
+
+static struct mic_irq *virtio_config_cookie;
+#define to_micvdev(vd) container_of(vd, struct mic_vdev, vdev)
+
+static inline struct device *dev(struct mic_vdev *mvdev)
+{
+ return mvdev->...
2018 Dec 13
5
[PATCH net-next 3/3] vhost: access vq metadata through kernel virtual address
...&vq->used_ring);
> +}
> +
> +static int vhost_setup_vmaps(struct vhost_virtqueue *vq, unsigned long avail,
> + unsigned long desc, unsigned long used)
> +{
> + size_t event = vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0;
> + size_t avail_size, desc_size, used_size;
> + int ret;
> +
> + vhost_clean_vmaps(vq);
> +
> + avail_size = sizeof(*vq->avail) +
> + sizeof(*vq->avail->ring) * vq->num + event;
> + ret = vhost_init_vmap(&vq->avail_ring, avail, avail_size, false);
> + if (ret) {
> + vq_err(vq, "Fail...
2018 Dec 13
5
[PATCH net-next 3/3] vhost: access vq metadata through kernel virtual address
...&vq->used_ring);
> +}
> +
> +static int vhost_setup_vmaps(struct vhost_virtqueue *vq, unsigned long avail,
> + unsigned long desc, unsigned long used)
> +{
> + size_t event = vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0;
> + size_t avail_size, desc_size, used_size;
> + int ret;
> +
> + vhost_clean_vmaps(vq);
> +
> + avail_size = sizeof(*vq->avail) +
> + sizeof(*vq->avail->ring) * vq->num + event;
> + ret = vhost_init_vmap(&vq->avail_ring, avail, avail_size, false);
> + if (ret) {
> + vq_err(vq, "Fail...
2013 Nov 26
1
[PATCH char-misc-linus 4/5] misc: mic: Fix sparse warnings and other endianness issues.
...g.num),
+ MIC_VIRTIO_RING_ALIGN, vdev, false,
+ (void __force *)va, mic_notify, callback,
+ name);
if (!vq) {
err = -ENOMEM;
goto unmap;
@@ -273,7 +273,8 @@ static struct virtqueue *mic_find_vq(struct virtio_device *vdev,
/* Allocate and reassign used ring now */
mvdev->used_size[index] = PAGE_ALIGN(sizeof(__u16) * 3 +
- sizeof(struct vring_used_elem) * config.num);
+ sizeof(struct vring_used_elem) *
+ le16_to_cpu(config.num));
used = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO,
get_order(mvdev->used_size[index]));
if (!used) {
@@ -540,...
2013 Nov 26
1
[PATCH char-misc-linus 4/5] misc: mic: Fix sparse warnings and other endianness issues.
...g.num),
+ MIC_VIRTIO_RING_ALIGN, vdev, false,
+ (void __force *)va, mic_notify, callback,
+ name);
if (!vq) {
err = -ENOMEM;
goto unmap;
@@ -273,7 +273,8 @@ static struct virtqueue *mic_find_vq(struct virtio_device *vdev,
/* Allocate and reassign used ring now */
mvdev->used_size[index] = PAGE_ALIGN(sizeof(__u16) * 3 +
- sizeof(struct vring_used_elem) * config.num);
+ sizeof(struct vring_used_elem) *
+ le16_to_cpu(config.num));
used = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO,
get_order(mvdev->used_size[index]));
if (!used) {
@@ -540,...
2004 Sep 05
2
1.0-test40
http://dovecot.org/test/
- Fixed dying with SIGIO signal with busy Maildir + Linux + IDLE system
- Fixed maildir syncing: "UIDs not ordered in file" errors could have
occured sometimes wrongly
- --with-ioloop=epoll enables epoll code with Linux 2.6. Untested after
my changes.
- Pretty big changes in internal index handling code (I started this
change 2-3 months ago..)
Keywords are
2018 Dec 28
0
[RFC PATCH V2 3/3] vhost: access vq metadata through kernel virtual address
...desc_size = sizeof(*vq->desc) * vq->num;
+
+ return vhost_init_vmap(&vq->desc_ring, desc, desc_size, false);
+}
+
+static int vhost_setup_used_vmap(struct vhost_virtqueue *vq,
+ unsigned long used)
+{
+ size_t event = vhost_has_feature(vq, VIRTIO_RING_F_EVENT_IDX) ? 2 : 0;
+ size_t used_size = sizeof(*vq->used) +
+ sizeof(*vq->used->ring) * vq->num + event;
+
+ return vhost_init_vmap(&vq->used_ring, used, used_size, true);
+}
+
void vhost_dev_cleanup(struct vhost_dev *dev)
{
int i;
@@ -623,6 +769,7 @@ void vhost_dev_cleanup(struct vhost_dev *dev)
if (dev-...
2012 Jun 06
2
Dovecot 1.x on AIX -> Dovecot 2.x on Ubuntu
...pid=19662, TLS
Jun 6 13:51:58 newlamar dovecot: imap(cacti): Error: Corrupted
transaction log file /adhome/cacti/.imap/Trash/dovecot.index.log seq
16777216: log file shrank (1428 < 6144) (sync_offset=6144)
Jun 6 13:51:58 newlamar dovecot: imap(cacti): Panic: file buffer.c: line
295 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc)
Jun 6 13:51:58 newlamar dovecot: imap(cacti): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0x374fa) [0x7f3ada59c4fa] ->
/usr/lib/dovecot/libdovecot.so.0(+0x3753e) [0x7f3ada59c53e] ->
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0...