summaryrefslogtreecommitdiff
path: root/src/file_handle_cache.erl
Commit message (Collapse)AuthorAgeFilesLines
* Make with_handle/{1,2} into part of the fhc API, and thus hide the extra ↵bug26180Simon MacMullen2014-05-161-13/+18
| | | | obtain/release/transfer variants.
* Add a file variant to fhc:obtain() and friends so that rabbit_file can keep ↵Simon MacMullen2014-05-161-107/+155
| | | | working even when we have hit the socket limit.
* Update copyright for 2014bug25940Simon MacMullen2014-03-171-1/+1
|
* s/VMware/GoPivotal/gSimon MacMullen2013-07-011-2/+2
|
* Merge in defaultSimon MacMullen2013-01-301-1/+1
|\
| * Update copyright 2013bug25343Emile Joubert2013-01-231-1/+1
| |
* | Pass length to prioritise_*Simon MacMullen2012-11-081-2/+2
|/
* Swap arguments of transfer/2.bug24997Simon MacMullen2012-09-181-3/+3
|
* Tweak docsEmile Joubert2012-09-141-3/+3
|
* Prevent possible deadlock when obtaining multiple filehandlesEmile Joubert2012-08-101-25/+34
|
* Merge bug24998Simon MacMullen2012-07-181-5/+5
|\
| * blow up if Ref is unknownbug25052Matthias Radestock2012-07-121-1/+1
| | | | | | | | just like the old version did
| * grammarMatthias Radestock2012-07-121-1/+1
| |
| * Duh, cosmeticSimon MacMullen2012-07-121-2/+1
| |
| * Don't reopen file handles in fhc:needs_sync/1, avoid infinite loop.Simon MacMullen2012-07-121-5/+6
| |
* | Minor simplificationbug24998Simon MacMullen2012-07-181-3/+1
| |
* | `rabbit_alarm' on its own again, added callbacks to fhc and `vm_memory_monitor'Francesco Mazzoli2012-07-131-7/+18
| |
* | do not take place of `alarm_handler', just pretty print what we're interested inFrancesco Mazzoli2012-07-121-2/+2
| |
* | let `rabbit_alarm' handle everything in place of `alarm_handler'Francesco Mazzoli2012-07-111-2/+2
|/ | | | | | No logging on set/clear alarm yet, me and Simon agree that we should do logging only on the events that rabbit knows it should be receiving (right now the resource limits ones)
* Merged defaultFrancesco Mazzoli2012-02-091-1/+1
|\
| * Update copyright 2012bug24606Emile Joubert2012-02-021-1/+1
| |
* | Changed needs_sync/1 patterns order.Francesco Mazzoli2012-02-091-3/+2
| |
* | Taking is_dirty into account in needs_sync/1.Francesco Mazzoli2012-02-091-2/+3
| |
* | needs_sync/1 now uses the handle write buffer, sync/1 is unconditional.Francesco Mazzoli2012-02-091-3/+10
| | | | | | | | | | | | If we perform the sync unconditionally and not only when unsynced_msg_ids is empty the write_buffer will always be cleared and we won't be stuck in a loop.
* | Always returning either timed or idle, always flushing in timeout/1.Francesco Mazzoli2012-02-071-19/+0
| |
* | Flushing periodically, trying out various way to find out when to flush.Francesco Mazzoli2012-02-071-0/+19
|/
* rename fd stats items to make their meaning more obviousMatthias Radestock2012-01-111-5/+5
| | | | | - and arrange them in limit/used order - and make process count info look the same
* include fd info in rabbit:status()Matthias Radestock2012-01-101-3/+5
| | | | | | | There is a slight layer violation here - we label the info items with 'socket...', which is correct in the rabbit context but really could be any fd in other contexts. Note though that we already mentioned sockets in the log message produced on startup.
* cosmetic: remove nonsensical commentMatthias Radestock2012-01-101-2/+1
|
* guard all prim_file usesAlexandru Scvortov2011-09-211-1/+5
|
* make fhc a gen_server2, turn releases into casts and prioritise themAlexandru Scvortov2011-09-201-22/+27
|
* release descriptors explicitlyAlexandru Scvortov2011-09-161-16/+27
|
* merge default into bug24386Alexandru Scvortov2011-09-161-15/+15
|\
| * use prim_file instead of file2Alexandru Scvortov2011-09-161-15/+15
| |
| * merge default into bug24386Alexandru Scvortov2011-09-141-7/+6
| |\
| * | use file2 in most cases in queue_index, file_handle_cache and miscAlexandru Scvortov2011-09-071-12/+12
| | | | | | | | | | | | | | | Unfortunately, the worker pool is now a pre-requisite for some file operations, so we have to start it in prelaunch:start/0 and rabbit:prepare/0.
* | | Use ets table instead of dictbug24425Matthew Sackman2011-09-141-20/+22
| |/ |/|
* | merge default into bug 23056bug23056Alexandru Scvortov2011-08-251-7/+6
|\ \ | |/ |/|
| * fix dialyzer warningsAlexandru Scvortov2011-08-081-2/+1
| | | | | | | | | | The ones left now are mostly our over-specifying functions in interfaces and a couple of "crated function has no return".
| * more specsAlexandru Scvortov2011-08-051-1/+1
| | | | | | | | | | Specs for gatherer, gm, priority_queue, rabbit and rabbit_sup are up to date.
| * file_handle_specs are up to dateAlexandru Scvortov2011-08-051-4/+4
| |
* | nuke file_handle_cache:last_sync_offsetMatthias Radestock2011-08-171-27/+10
|/
* merge default into bug23504Alexandru Scvortov2011-08-021-78/+99
|\
| * merge bug23942 into defaultMatthias Radestock2011-03-171-9/+7
| |\
| | * Merging bug23948 to bug23942Matthew Sackman2011-03-141-5/+8
| | |\
| | * | FixMatthew Sackman2011-03-141-9/+7
| | | |
| * | | cosmeticbug23948Matthias Radestock2011-03-151-6/+4
| | |/ | |/|
| * | fixMatthew Sackman2011-03-141-5/+8
| |/
| * Pin the URL comment.bug23520Simon MacMullen2011-03-081-1/+1
| |
| * Floats are bad. Use integer division instead. (via Matthias)Marek Majkowski2011-03-081-1/+1
| |