A short digression on FOSS (Re: understanding speculative preallocation)

Keith Keller kkeller at wombat.san-francisco.ca.us
Sun Jul 28 23:57:38 CDT 2013


On 2013-07-29, Eric Sandeen <sandeen at sandeen.net> wrote:
> 
> In general, no.  There are a lot of moving parts that interface with the filesystem - one does not simply drop fs/xfs from, say, kernel 3.2 into a 2.6.32 kernel.

I apologize for the confusion, this was not what I was implying was
possible.  Let me try to be more explicit.  Unfortunately, I no longer
have a history of what I did, because I ultimately abandoned it, so my
example will be hypothetical.

The current stable kernel is 3.10.4.  Let's suppose that 3.10.5 comes
out tomorrow with some interesting patches to fs/xfs.  Is it possible
using dkms to build the 3.10.5 version of the xfs module for a running
3.10.4 kernel?  And if so, is there a way for the module to report its
own version?  There should (in theory) be much less wizardry involved in
this scenario than in the difficult scenario of porting 3.10's xfs back
to 2.6, and is more along the lines of what I remember doing a short
time back).  (To be specific, IIRC what I did was took a proposed patch
against my running kernel version, which had not yet been incorporated
in the distro kernel, and tested it by replacing the distro kernel's
module with one I built via DKMS.  But as I mentioned, I have no docs on
this, so I could be misremembering the process.)

I am not intentionally trying to be difficult.  :)  I am genuinely
just curious about the answer.  If it's "no" (or perhaps, in this
specific scenario, it's "use the dkms tools"), it still provides me with
valuable information I did not previously have.

--keith

-- 
kkeller at wombat.san-francisco.ca.us




More information about the xfs mailing list