From: <gi...@ba...> - 2012-06-13 05:56:42
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Bacula Community source". The branch, Branch-5.2 has been updated via d516bc9608a0254a11173aa7e9b7f098c0c07c6d (commit) from bf1250a2071cee2600262341c3140834b4d8d4ce (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d516bc9608a0254a11173aa7e9b7f098c0c07c6d Author: Kern Sibbald <ke...@si...> Date: Wed Jun 13 07:55:47 2012 +0200 Remove restriction of network buffer size being multiple of a tape block ----------------------------------------------------------------------- Summary of changes: diff --git a/bacula/src/lib/bsock.c b/bacula/src/lib/bsock.c index b6b06ea..0eeb74b 100644 --- a/bacula/src/lib/bsock.c +++ b/bacula/src/lib/bsock.c @@ -724,11 +724,6 @@ bool BSOCK::set_buffer_size(uint32_t size, int rw) Qmsg1(get_jcr(), M_WARNING, 0, _("Warning network buffer = %d bytes not max size.\n"), dbuf_size); } - if (dbuf_size % TAPE_BSIZE != 0) { - Qmsg1(get_jcr(), M_ABORT, 0, - _("Network buffer size %d not multiple of tape block size.\n"), - dbuf_size); - } } if (size != 0) { dbuf_size = size; @@ -748,11 +743,6 @@ bool BSOCK::set_buffer_size(uint32_t size, int rw) Qmsg1(get_jcr(), M_WARNING, 0, _("Warning network buffer = %d bytes not max size.\n"), dbuf_size); } - if (dbuf_size % TAPE_BSIZE != 0) { - Qmsg1(get_jcr(), M_ABORT, 0, - _("Network buffer size %d not multiple of tape block size.\n"), - dbuf_size); - } } msglen = dbuf_size; hooks/post-receive -- Bacula Community source |