| To: | Eric Sandeen <sandeen@xxxxxxx> |
|---|---|
| Subject: | Re: odd problem with XFS & NFS (locking up system) |
| From: | Dave Alden <alden@xxxxxxxxxxxxxxxxxxx> |
| Date: | Mon, 11 Mar 2002 17:14:25 -0500 |
| Cc: | Keith Owens <kaos@xxxxxxx>, linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <1015882624.28288.18.camel@xxxxxxxxxxxxxxxxxxxxxx>; from sandeen@xxxxxxx on Mon, Mar 11, 2002 at 03:37:04PM -0600 |
| References: | <20020311144914.A6662@xxxxxxxxxxxxxxxxxxx> <523.1015876602@xxxxxxxxxxxxxxxxxxxxx> <20020311152455.A6907@xxxxxxxxxxxxxxxxxxx> <1015882624.28288.18.camel@xxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
Hi, That seems to have fixed it. Thanks. :-) ...dave On Mon, Mar 11, 2002 at 03:37:04PM -0600, Eric Sandeen wrote: > Does this help? > > (Thank Steve if it does...) > > -Eric > > --- linux/fs/xfs/pagebuf/page_buf_io.c_1.15 Mon Mar 11 15:35:41 2002 > +++ linux/fs/xfs/pagebuf/page_buf_io.c Mon Mar 11 15:35:28 2002 > @@ -310,7 +310,8 @@ > __pb_block_prepare_write_async(ip, page, > cpoff, cpoff+csize, at_eof, NULL, > pbmapp, PBF_WRITE); > - memset((void *) (kmap(page) + cpoff), 0, csize); > + /* __pb_block_prepare_write already kmap'd the page */ > + memset((void *) (page_address(page) + cpoff), 0, csize); > pagebuf_commit_write_core(ip, page, cpoff, cpoff + csize); > pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + > cpoff + csize; > > |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: rmap vm and xfs, mdew |
|---|---|
| Next by Date: | TAKE - Fix lockup on highmem system, Eric Sandeen |
| Previous by Thread: | Re: odd problem with XFS & NFS (locking up system), Eric Sandeen |
| Next by Thread: | Adaptec 2005s, Gabe E. Nydick |
| Indexes: | [Date] [Thread] [Top] [All Lists] |