tech-kern archive

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

Re: zero-filed page on VOP_PUTPAGES



YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost> wrote:

> have you tried to analyze the problem with PUFFS_FLAG_OPDUMP?

Here is it below.  The zeroed chunk is 2404 bytes at offset 0.

As I understand, the problem is again an asynchronous SETATTR followed by a
WRITE (reqid 2449).

Indeed puffs_vnop_inactive() starts by a call to flushvncache() with wait set
to false. 

        reqid: 2222, opclass 2, optype: PUFFS_VN_LOOKUP, cookie: 0xbb913200,
                aux: 0xbb92202c, auxlen: 1188, pid: 2316, lwpid: 1
                puffs_cn: "LintSysNormal.c", len 15 op CREATE (flags 0xc05c)
                since previous call: 0.083667
        RV reqid: 2222, result: 2 No such file or directory
                new node 0x0, type 0x0,
                size 0x0, dev 0x0
        reqid: 2223, opclass 2, optype: PUFFS_VN_CREATE, cookie: 0xbb913200,
                aux: 0xbb92302c, auxlen: 1284, pid: 2316, lwpid: 1
                since previous call: 0.004644
        RV reqid: 2223, result: 0
                new node 0xbb913340
        reqid: 2224, opclass 2, optype: PUFFS_VN_OPEN, cookie: 0xbb913340,
                aux: 0xbb92202c, auxlen: 132, pid: 2316, lwpid: 1
                mode: 0x202
                since previous call: 0.007109
        RV reqid: 2224, result: 0

(many GETATTR on 0xbb913340)

        reqid: 2236, opclass 2, optype: PUFFS_VN_GETATTR, cookie: 0xbb913340,
                aux: 0xbb92202c, auxlen: 240, pid: 7941, lwpid: 1
                since previous call: 0.024271
        reqid: 2237, opclass 2, optype: PUFFS_VN_SETATTR, cookie: 0xbb913340,
                aux: 0xbb92402c, auxlen: 240, pid: 0, lwpid: 27
                since previous call: 0.008950
        RV reqid: 2236, result: 0
        RV reqid: 2237, result: 0
        reqid: 2238, opclass 2, optype: PUFFS_VN_FSYNC, cookie: 0xbb913340,
                aux: 0xbb92302c, auxlen: 148, pid: 0, lwpid: 27
                since previous call: 0.150475
        RV reqid: 2238, result: 0
        reqid: 2239, opclass 1, optype: PUFFS_VFS_SYNC, cookie: 0x0,
                aux: 0xbb92202c, auxlen: 132, pid: 0, lwpid: 27
                since previous call: 0.000277
        RV reqid: 2239, result: 0
        reqid: 2240, opclass 2, optype: PUFFS_VN_READ, cookie: 0xbb913340,
                aux: 0xbb92402c, auxlen: 2548, pid: 7941, lwpid: 1
                offset: 0, resid 2404, ioflag 0x0
                since previous call: 0.000185
        RV reqid: 2240, result: 0
                resid after op: 0

(many GETATTR on 0xbb913340)

        reqid: 0, opclass 2 (FAF), optype: PUFFS_VN_CLOSE, cookie: 0xbb913340,
                aux: 0xbb92202c, auxlen: 132, pid: 2316, lwpid: 1
                since previous call: 0.015413
        reqid: 0, opclass 2 (FAF), optype: PUFFS_VN_SETATTR, cookie:
0xbb913340,
                aux: 0xbb92202c, auxlen: 240, pid: 2316, lwpid: 1
                since previous call: 0.000096
        reqid: 2449, opclass 2, optype: PUFFS_VN_WRITE, cookie: 0xbb913340,
                aux: 0xbb92502c, auxlen: 32912, pid: 2316, lwpid: 1
                offset: 0, resid 32768, ioflag 0x0
                since previous call: 0.000448
        reqid: 2450, opclass 2, optype: PUFFS_VN_WRITE, cookie: 0xbb913340,
                aux: 0xbb93702c, auxlen: 12039, pid: 2316, lwpid: 1
                offset: 32768, resid 11895, ioflag 0x0
                since previous call: 0.000526
        reqid: 2451, opclass 2, optype: PUFFS_VN_INACTIVE, cookie: 0xbb913340,
                aux: 0xbb92402c, auxlen: 44, pid: 2316, lwpid: 1
                since previous call: 0.000094
        RV reqid: 2449, result: 0
                resid after op: 0
        RV reqid: 2450, result: 0
                resid after op: 0
        RV reqid: 2451, result: 0



-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index