* Max Message Size For AIO calls
@ 2012-09-26 22:28 Ian Pye
2012-09-26 22:38 ` Noah Watkins
0 siblings, 1 reply; 2+ messages in thread
From: Ian Pye @ 2012-09-26 22:28 UTC (permalink / raw)
To: ceph-devel
Hi,
I'm periodically getting librados aio_operate() calls to fail on me
and return a code of -90: Message too long. Does anyone know how long
is too long of a message here?
Thanks,
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Max Message Size For AIO calls
2012-09-26 22:28 Max Message Size For AIO calls Ian Pye
@ 2012-09-26 22:38 ` Noah Watkins
0 siblings, 0 replies; 2+ messages in thread
From: Noah Watkins @ 2012-09-26 22:38 UTC (permalink / raw)
To: Ian Pye; +Cc: ceph-devel
Looks like this here is the relevant config option:
osd_max_write_size which has a default value of 90 megabytes
(adjusted below with the << 20) in my tree
In osd/OSD.cc:
// too big?
if (g_conf->osd_max_write_size &&
m->get_data_len() > g_conf->osd_max_write_size << 20) {
// journal can't hold commit!
service.reply_op_error(op, -OSD_WRITETOOBIG);
return;
}
- Noah
On Wed, Sep 26, 2012 at 3:28 PM, Ian Pye <ianpye@gmail.com> wrote:
> Hi,
>
> I'm periodically getting librados aio_operate() calls to fail on me
> and return a code of -90: Message too long. Does anyone know how long
> is too long of a message here?
>
> Thanks,
>
> Ian
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-26 22:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-26 22:28 Max Message Size For AIO calls Ian Pye
2012-09-26 22:38 ` Noah Watkins
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.