aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/ram_file.erl
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2013-04-05 11:47:02 +0200
committerAnthony Ramine <[email protected]>2013-04-11 14:28:45 +0200
commit9f2c736e273aed9034aeab2d2877b5c52cc8d327 (patch)
tree48aaedb3b41004bf8378ad6e7a5b33a5f437f782 /lib/kernel/src/ram_file.erl
parente72043e3519cb14aabf461849eba959b97e07410 (diff)
downloadotp-9f2c736e273aed9034aeab2d2877b5c52cc8d327.tar.gz
otp-9f2c736e273aed9034aeab2d2877b5c52cc8d327.tar.bz2
otp-9f2c736e273aed9034aeab2d2877b5c52cc8d327.zip
Optimize communication with file io server
The file module communicates with a file io server with the following protocol for file operations: > {file_request,From,ReplyAs,Request} < {file_reply,ReplyAs,Reply} The ReplyAs value is sent by the client side to match against when receiving the reply and is otherwise left untouched and passed as is by the server. This commit enables receive optimizations by using the reference of the server monitor, changing the protocol to: > {file_request,From,MonitorRef,Request} < {file_reply,MonitorRef,Reply} As the shape of the messages is not changed, backwards compatibility is not a concern.
Diffstat (limited to 'lib/kernel/src/ram_file.erl')
0 files changed, 0 insertions, 0 deletions