platform_system_core/sdcard
Jeff Brown 6249b9009f Make sdcard daemon multi-threaded.
The essential idea here is that a handler thread only needs to
hold a lock on the global node table while it is manipulating
nodes.  The actual I/O operation is then performed without
holding any locks.

By default, we use 2 threads but this can be configured on the
command-line.  Work is sheduled somewhat arbitrarily by the
handler threads.  Whichever thread happens to read() the next
request first wins the right process it.  This policy is very
simple but potentially wastes threads when there isn't much
work to be done.  We can always improve this later if needed.

Change-Id: Id27a27c2c9b40d4f8e35a6bef9dd84f0dfacf337
2012-06-04 13:15:04 -07:00
..
Android.mk Make sdcard daemon multi-threaded. 2012-06-04 13:15:04 -07:00
fuse.h sdcard: a program to create a "virtual" /sdcard pointed at a path 2010-08-12 18:01:08 -07:00
sdcard.c Make sdcard daemon multi-threaded. 2012-06-04 13:15:04 -07:00