Re: ->migratepage aops for nfs missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-08-04 at 22:26 +0200, Andi Kleen wrote:
> Trond,
> 
> Any particular reason ->migratepage is not enabled for 
> the nfs file aops?
> 
> Is it known to be unsafe to move NFS buffer pages at runtime?
> 
> I have a similar requirement for memory error handling.
> 
> Thanks,
> 
> -Andi

Hi Andi,

I don't think there are any fundamental problems with migrating NFS page
cache pages. In order to handle dirty pages, we'd need to write the
equivalent of buffer_migrate_page() in order to transfer the private
data, lock and update the 'struct nfs_page' that tracks the page's dirty
area.

The only thing I'm not 100% sure about is fscache, but I think the
correct thing is just to call nfs_fscache_release_page(). David?

Cheers
  Trond

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux