* [patch] Re: NFS writes
@ 1997-05-24 6:09 Tim Waugh
0 siblings, 0 replies; 3+ messages in thread
From: Tim Waugh @ 1997-05-24 6:09 UTC (permalink / raw)
This patch fixes the problem I was seeing (to do with NFS writes).
Tim.
*/
--- linux/fs/nfs/write.c~ Sat May 24 04:41:39 1997
+++ linux/fs/nfs/write.c Sat May 24 04:41:40 1997
@@ -178,7 +178,7 @@
wsize = count;
result = nfs_proc_write(NFS_SERVER(inode), NFS_FH(inode),
- offset, wsize, IS_SWAPFILE(inode),
+ IS_SWAPFILE(inode), offset, wsize,
buffer, &fattr);
if (result < 0) {
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch] Re: NFS writes
[not found] <Pine.LNX.3.96.970524070714.308A-100000@cyberelk.elk.co.uk>
@ 1997-05-24 14:20 ` Andreas Johansson
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Johansson @ 1997-05-24 14:20 UTC (permalink / raw)
On Sat, 24 May 1997, Tim Waugh wrote:
> This patch fixes the problem I was seeing (to do with NFS writes).
>
> Tim.
> */
>
> --- linux/fs/nfs/write.c~ Sat May 24 04:41:39 1997
> +++ linux/fs/nfs/write.c Sat May 24 04:41:40 1997
> [...]
Yes, this fixes NFS for me too. Having looked at the code, I simply
can't see how the original code could work on intel.
/Andreas
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: E-mail: ajo@wopr.campus.luth.se :
: S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN :
: Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! :
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch] Re: NFS writes
[not found] <Pine.LNX.3.95L01at.970524161848.6258A-100000@wopr.campus.luth.se>
@ 1997-05-24 16:07 ` Tim Waugh
0 siblings, 0 replies; 3+ messages in thread
From: Tim Waugh @ 1997-05-24 16:07 UTC (permalink / raw)
On Sat, 24 May 1997, Andreas Johansson wrote:
> Yes, this fixes NFS for me too. Having looked at the code, I simply
> can't see how the original code could work on intel.
It looks like Alpha and Intel take different routes after encountering (in
write.c, nfs_updatepage()):
[...]
/* If wsize is smaller than page size, update and write
* page synchronously.
*/
if (NFS_SERVER(inode)->wsize < PAGE_SIZE)
[...]
Taking the "if" leads to muddling up count and offset, but skipping it
doesn't.
Tim.
*/
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-05-24 16:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-24 6:09 [patch] Re: NFS writes Tim Waugh
[not found] <Pine.LNX.3.96.970524070714.308A-100000@cyberelk.elk.co.uk>
1997-05-24 14:20 ` Andreas Johansson
[not found] <Pine.LNX.3.95L01at.970524161848.6258A-100000@wopr.campus.luth.se>
1997-05-24 16:07 ` Tim Waugh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox