Date: Mon, 13 Jan 2003 13:20:29 -0800 From: Lars Eggert <larse@ISI.EDU> To: phk@freebsd.org Cc: current <current@freebsd.org> Subject: Re: VOP_SPECSTRATEGY on non-VCHR Message-ID: <3E232D9D.8020004@isi.edu> In-Reply-To: <4875.1042366892@critter.freebsd.dk> References: <4875.1042366892@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
phk@freebsd.org wrote:
> In message <3E1DCF31.4080905@isi.edu>, Lars Eggert writes:
>
>
> >just got this on today's -current, when accessing a mounted NTFS
> partition:
> >
> >VOP_SPECSTRATEGY on non-VCHR
> >: 0xc6d73c34: tag ntfs, type VREG, usecount 3, writecount 0, refcount 0,
> >flags (VV_OBJBUF), lock type ntfs: SHARED (count 1)
>
>
> Can you try this patch ?
The patch fixes things in the sense that I now longer see the message.
Thanks!
>
> Index: vnode_pager.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/vm/vnode_pager.c,v
> retrieving revision 1.167
> diff -u -r1.167 vnode_pager.c
> --- vnode_pager.c 5 Jan 2003 20:32:03 -0000 1.167
> +++ vnode_pager.c 12 Jan 2003 10:21:08 -0000
> @@ -823,7 +823,10 @@
> cnt.v_vnodepgsin += count;
>
> /* do the input */
> - VOP_SPECSTRATEGY(bp->b_vp, bp);
> + if (dp->v_type == VCHR)
> + VOP_SPECSTRATEGY(bp->b_vp, bp);
> + else
> + VOP_STRATEGY(bp->b_vp, bp);
>
> s = splvm();
> /* we definitely need to be at splvm here */
>
Lars
--
Lars Eggert <larse@isi.edu> USC Information Sciences Institute
[-- Attachment #2 --]
0 *H
010 + 0 *H
080fErtcvE.0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
000830000000Z
040827235959Z010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
*H
0 32c %E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf - ki N0L0)U"0 010UPrivateLabel1-2970U0 0U0
*H
1KG]qSl]y=&b""I'{9$
*8PUl
LGlX1B li+@]jy.%݊
Z<D&iHΥbb090%A0
*H
010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10 *H
larse@isi.edu0"0
*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0J jWV~ 1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r Hcc U3%7N_o V0T0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U0 0
*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+ Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S090%A0
*H
010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10 *H
larse@isi.edu0"0
*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0J jWV~ 1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r Hcc U3%7N_o V0T0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U0 0
*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+ Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S100010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0 + 0 *H
1 *H
0 *H
1
030113212029Z0# *H
1@#v!
[Ԋ+ 0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0*H
1010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0
*H
O~3ZS-ѷXvq"4]#9|-P
6]sap\ +55$)PCxnp`'{DRAƾ&\_&{~OAB)יWo19)\qɅuh人__yԅ# kq-ڥi{z]8Cf5s=9x\I(s{ÇDIi(Z+4fm0{z,ק2B +Z24m?t
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E232D9D.8020004>
