tech-userlevel archive

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

Re: Possible issue with vnd



On 2017-05-02 11:36 AM, D'Arcy Cain wrote:
On 2017-05-02 06:54 AM, D'Arcy Cain wrote:
Perhaps the Linux file system blocks are smaller than the NetBSD ones
and we need this revision;

revision 1.255
date: 2015-11-30 01:04:47 -0500;  author: mlelstv;  state: Exp;  lines:
+28 -2;  commitid: 9TPgApzsrkJdY4Ly;
Fall back to VOP_READ/VOP_WRITE if the simulated disk has smaller
sectors than the underlying filesystem and VOP_STRATEGY would fail.

What are the chances of getting a pullup on that?

I built a -current server and tried the operation.  It worked fine.  I
will try to patch my 7.1.0_PATCH system with this and see if that was
the critical change.

Well, so much for that idea. Patching vnd.c with that commit caused the system to hang immediately when I accessed the virtual drive rather than some time later when I copied a sparse file.

However, -current works so something has been fixed. Maybe I need to copy the current file and header over and not just that one change.

--
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost


Home | Main Index | Thread Index | Old Index