On 05/12/11 07:55, Michal Hocko wrote:
On Sun 04-12-11 19:42:12, Cristian Rodríguez wrote:
Hi:
Hi,
calling posix_fadvise with advice POSIX_FADV_WILLNEED on a tmpfs filesystem returns EINVAL..
I assume you are talking about 12.1 kernel, right?
Current kernel:head 3.2.0-rc3-4-desktop
This is a side effect of 276aad6 merged in 3.1-rc1. I have noticed this while backporting tmpfs/shmem rework and was wondering what will break by the change.
Ahh, ok.
Where do you see this as a problem? I can cook up a patch but will need some justification which I have a hard time to come up with ;)
I was learning about this stuff and wrote some hello world test and found that the behavior was inconsistent (and undocumented) when running it in different partitions. (first in /tmp --> tmpfs, then /var/tmp --> SSD ext4) I have not found a real world app that breaks, but wouldn't be surprised if some do. ;) Thanks for the clarification. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org