Skip to contentSkip to conversation

Desynchronized ncommit

PATCH Chuck Lever 2 participants 3 messages Apr 19, 2007 – Apr 20, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I've noticed this message in my system log over the past few days:

Apr 17 10:14:04 schiele kernel: NFS: desynchronized value of nfs_i.ncommit.

It looks like it started appearing when the following patch was applied to 2.6.21-rc. Any suggestions on what I can do to debug this further?

NFS: Fix a list corruption problem

We must remove the request from whatever list it is currently on
before we
can add it to the dirty list.

fs/nfs/write.c +3 -1
index e5d7cac..ad2e91b 100644
@@ -280,8 +280,10 @@ static int nfs_page_mark_flush(struct page *page)
                spin_lock(req_lock);
        }
        spin_unlock(req_lock);
-       if (nfs_set_page_writeback(page) == 0)
+       if (nfs_set_page_writeback(page) == 0) {
+               nfs_list_remove_request(req);
                nfs_mark_request_dirty(req);
+       }
        ret = test_bit(PG_NEED_FLUSH, &req->wb_flags);
        nfs_unlock_request(req);
        return ret;

begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA email;internet:chuck dot lever at nospam oracle dot com title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 6 lines · Chuck Lever

I've noticed this message in my system log over the past few days:

Apr 17 10:14:04 schiele kernel: NFS: desynchronized value of nfs_i.ncommit.

It looks like it started appearing when the following patch was applied to 2.6.21-rc. Any suggestions on what I can do to debug this further?

Please apply patches 1 - 5 from
http://client.linux-nfs.org/Linux-2.6.x/2.6.21-rc7/
and check that they work for you too.

Trond

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
Quoted 10 lines · Trond Myklebust
Quoted 5 lines · Chuck Lever

I've noticed this message in my system log over the past few days:

Apr 17 10:14:04 schiele kernel: NFS: desynchronized value of nfs_i.ncommit.

It looks like it started appearing when the following patch was applied to 2.6.21-rc. Any suggestions on what I can do to debug this further?

Please apply patches 1 - 5 from
http://client.linux-nfs.org/Linux-2.6.x/2.6.21-rc7/
and check that they work for you too.

The "Desynchronized ncommit" messages no longer appear, and applications overall seem more stable ("Add/remove software packages" wouldn't start at all, before, and Thunderbird seems a lot happier).

begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA email;internet:chuck dot lever at nospam oracle dot com title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs