search for: pool_intern

Displaying 2 results from an estimated 2 matches for "pool_intern".

2007 Aug 20
2
DO NOT REPLY [Bug 4904] New: POOL_INTERN ignored in pool_create()
https://bugzilla.samba.org/show_bug.cgi?id=4904 Summary: POOL_INTERN ignored in pool_create() Product: rsync Version: 3.0.0 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: brion@wikimedi...
2004 Feb 06
4
memory reduction
..._list *send_file_list(int f, start_write = stats.total_written; - flist = flist_new(); + flist = flist_new(f == -1 ? WITHOUT_HLINK : WITH_HLINK, + "send_file_list"); if (f != -1) { + flist->hlink_pool = pool_create(128 * 1024, + sizeof (struct idev), out_of_memory, POOL_INTERN); io_start_buffering_out(f); if (filesfrom_fd >= 0) { if (argv[0] && !push_dir(argv[0])) { @@ -1177,6 +1191,12 @@ struct file_list *send_file_list(int f, finish_filelist_progress(flist); } + if (flist->hlink_pool) + { + pool_destroy(flist->hlink_pool); + flist-...