Re: nfs: desynchronized value of nfs_i.ncommit.

Trond Myklebust
2007-04-17T22:44:34Z

On Wed, 2007-04-18 at 02:01 +0900, OGAWA Hirofumi wrote:
> Hi,
>
> I've got the following message today. Probably, it happened on heavy load.
>
> NFS: desynchronized value of nfs_i.ncommit.
> NFS: desynchronized value of nfs_i.ncommit.
> NFS: desynchronized value of nfs_i.ncommit.
> NFS: desynchronized value of nfs_i.ncommit.
> NFS: desynchronized value of nfs_i.ncommit.
> NFS: desynchronized value of nfs_i.ncommit.
> NFS: desynchronized value of nfs_i.ncommit.
> [...]
>
> Any idea? Thanks.

It is a known issue that is due to nfs_writepage() 'stealing' requests
from the commit list. The most dangerous consequence is that it screws
up the NR_UNSTABLE_NFS page accounting...

I'm working on a fix, and will post it to lkml as soon as I'm happy with
tests.

Cheers
Trond