* and we are full : record is lost.
*/
v_inc(config, &buf->records_lost_full);
+ DBG("Record lost: buffer is full\n");
return -ENOBUFS;
} else {
/*
* many nested writes over a reserve/commit pair.
*/
v_inc(config, &buf->records_lost_wrap);
+ DBG("Record lost: buffer wrap-around\n");
return -EIO;
}
offsets->size =
* complete the sub-buffer switch.
*/
v_inc(config, &buf->records_lost_big);
+ DBG("Record lost: record size (%zu bytes) is too large for buffer\n", offsets->size);
return -ENOSPC;
} else {
/*