Re: kern/127213: [tmpfs] sendfile on tmpfs data corruption
The following reply was made to PR kern/127213; it has been noted by GNATS.
From: Maxim Konovalov <maxim@macomnet.ru>
To: Nate Eldredge <neldredge@math.ucsd.edu>
Cc: [email]bug-followup@freebsd.org[/email]
Subject: Re: kern/127213: [tmpfs] sendfile on tmpfs data corruption
Date: Mon, 6 Oct 2008 11:36:38 +0400 (MSD)
Hello,
On Mon, 6 Oct 2008, 06:40-0000, Nate Eldredge wrote:
[...][color=blue]
> Incidentally, to the initial reporter, what application do you have
> that requires sendfile? In my experience, most things will fall
> back to a read/write loop if sendfile fails, since sendfile isn't
> available on all systems or under all circumstances. So if you
> apply the quick fix so that sendfile always fails, it might at
> least get your application working again.
>[/color]
As stated in the PR Andrey used nginx (ports/www/nginx). But I could
easily reproduce the bug with the stock ftpd(8) with the ftproot on
tmpfs.
--
Maxim Konovalov
_______________________________________________
[email]freebsd-fs@freebsd.org[/email] mailing list
[url]http://lists.freebsd.org/mailman/listinfo/freebsd-fs[/url]
To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"