search for: max_data_count

Displaying 4 results from an estimated 4 matches for "max_data_count".

2010 Feb 06
1
shadow_copy2 prob? FSCTL..GET..DATA: max_data_count(114) too small (118) bytes needed!
...Yet when I go look at files that that have been modified on the 6th, I see no previous versions. In /var/log/samba/clientname.log, I see: linw opened file mail/bind read=Yes write=No (numopen=3) [2010/02/06 03:23:41, 0] smbd/nttrans.c:1970(call_nt_transact_ioctl) FSCTL_GET_SHADOW_COPY_DATA: max_data_count(114) too small (118) bytes needed! [2010/02/06 03:23:57, 2] smbd/close.c:612(close_normal_file) linw closed file mail/bind (numopen=2) NT_STATUS_OK Is the max data count too small the problem? Is there a bug in this version of samba? Is this relevant? Or is there something else wrong I don...
2003 Jun 27
1
bug? -z option and large compressed data
...aller" and this CD-ROM includes many gzip/bzip2 compressed datas(RPMs). Let's looked at token.c. 280 tx_strm.next_in = (Bytef *) map_ptr(buf, offset, toklen); 281 tx_strm.avail_in = toklen; 282 tx_strm.next_out = (Bytef *) obuf; 283 tx_strm.avail_out = MAX_DATA_COUNT; 284 r = deflate(&tx_strm, Z_INSERT_ONLY); 285 if (r != Z_OK || tx_strm.avail_in != 0) { 286 rprintf(FERROR, "deflate on token returned %d (%d bytes left)\n", 287 r, tx_strm.avail_in); 288 exit_cleanup(RERR_S...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...ending; + ZSTD_EndDirective flush = ZSTD_e_continue; + int32 n, r; + + /* initialization */ + if (!comp_init_done) { + + zstd_cctx = ZSTD_createCCtx(); + if (!zstd_cctx) { + rprintf(FERROR, "compression init failed\n"); + exit_cleanup(RERR_PROTOCOL); + } + + obuf = new_array(char, MAX_DATA_COUNT + 2); + if (!obuf) + out_of_memory("send_deflated_token"); + + ZSTD_CCtx_setParameter(zstd_cctx, ZSTD_c_compressionLevel, + def_compress_level); + zstd_out_buff.dst = obuf + 2; + + comp_init_done = 1; + } + + if (last_token == -1) { + last_run_end = 0; + run_start = toke...
2002 Aug 05
5
[patch] read-devices
...f, offset, n); + tx_strm.next_in = (Bytef *)buf->m_ptr; + tx_strm.avail_in = buf->m_len; + nb -= buf->m_len; + offset += buf->m_len; + data_read += buf->m_len; } if (tx_strm.avail_out == 0) { tx_strm.next_out = (Bytef *)(obuf + 2); tx_strm.avail_out = MAX_DATA_COUNT; @@ -276,10 +286,12 @@ } else if (token != -2) { /* add the data in the current block to the compressor's history and hash table */ - tx_strm.next_in = (Bytef *) map_ptr(buf, offset, toklen); - tx_strm.avail_in = toklen; + map_ptr(buf, offset, toklen); + data_read += buf->m_...