On 05/23/2013 11:49 AM, MORITA Kazutaka wrote: > Dropping O_DIRECT looks better to me. If we don't want to use page > cache for the object, we can use posix_fadvise(POSIX_FADV_DONTNEED) to > drop the cache. Let's keep it in page cache for simplicity, since unaligned read/write wouldn't be frequent case. It won't cause trouble for kernel to management memory. Thanks, Yuan |