Re: No one seems to be using AOP_WRITEPAGE_ACTIVATE?

2010-04-27 Thread KOSAKI Motohiro
On Apr 26, 2010, at 6:18 AM, KOSAK AOP_WRITEPAGE_ACTIVATE was introduced for ramdisk and tmpfs thing (and later rd choosed to use another way). Then, It assume writepage refusing aren't happen on majority pages. IOW, the VM assume other many pages can writeout although the page can't.

Re: No one seems to be using AOP_WRITEPAGE_ACTIVATE?

2010-04-26 Thread KOSAKI Motohiro
Hi Ted I happened to be going through the source code for write_cache_pages(), and I came across a reference to AOP_WRITEPAGE_ACTIVATE. I was curious what the heck that was, so I did search for it, and found this in Documentation/filesystems/vfs.txt: If wbc-sync_mode is

Re: No one seems to be using AOP_WRITEPAGE_ACTIVATE?

2010-04-26 Thread Theodore Tso
On Apr 26, 2010, at 6:18 AM, KOSAK AOP_WRITEPAGE_ACTIVATE was introduced for ramdisk and tmpfs thing (and later rd choosed to use another way). Then, It assume writepage refusing aren't happen on majority pages. IOW, the VM assume other many pages can writeout although the page can't. Then,

Re: No one seems to be using AOP_WRITEPAGE_ACTIVATE?

2010-04-26 Thread Chris Mason
On Mon, Apr 26, 2010 at 10:50:45AM -0400, Theodore Tso wrote: On Apr 26, 2010, at 6:18 AM, KOSAK AOP_WRITEPAGE_ACTIVATE was introduced for ramdisk and tmpfs thing (and later rd choosed to use another way). Then, It assume writepage refusing aren't happen on majority pages. IOW, the VM

No one seems to be using AOP_WRITEPAGE_ACTIVATE?

2010-04-24 Thread Theodore Ts'o
I happened to be going through the source code for write_cache_pages(), and I came across a reference to AOP_WRITEPAGE_ACTIVATE. I was curious what the heck that was, so I did search for it, and found this in Documentation/filesystems/vfs.txt: If wbc-sync_mode is WB_SYNC_NONE, -writepage