From: <ch...@su...> - 2013-08-21 13:41:21
|
Hi! > The README in the testcases directory says that the tests explicitly > tests for consistency between buffered I/O and O_DIRECT. > > I will consult some kernel guys if this was ever supported and we will > either remove the tests or try to find a bug in the kernel. I've looked at the test and what it does is: 1. create file and make sure it's empty 2. truncate it to defined size 3. parent starts writing zeroes to it with O_DIRECT 4. childs reads it and expect to get zeroes at any time This should really work and I've been told by our filesystem guy that this really looks like bug in the kernel (assuming that I haven't overlooked something in the test source). -- Cyril Hrubis ch...@su... |