Re: Max Message Size For AIO calls

2012-09-26 Thread Noah Watkins
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  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 majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Max Message Size For AIO calls

2012-09-26 Thread Ian Pye
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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html