linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: "linux-lvm@lists.linux.dev" <linux-lvm@lists.linux.dev>
Subject: Re: Best use of a small SSD with LVM
Date: Thu, 07 Aug 2025 13:45:25 -0400	[thread overview]
Message-ID: <18005e040c49b51c94749509a43ec312a4a87c06.camel@interlinx.bc.ca> (raw)
In-Reply-To: <26772.50315.313737.277898@quad.stoffel.home>

On Thu, 2025-08-07 at 11:21 -0400, John Stoffel wrote:
> > > > > 
> 
> This looks interesting, but why isn't it upstreamed into the linux
> kernel?  What's stopping it being added if it's so good?

See my other reply in this thread about that:

https://lore.kernel.org/linux-lvm/eb048b63ab9ecc6aba533a932bf6ff2ed87701f8.camel@interlinx.bc.ca/

Specifically the link to the exact same question I asked of the Open-
CAS developers:

https://github.com/Open-CAS/open-cas-linux/discussions/1605

They list a number of reasons.

Ultimately it still means more work to update kernels from the distro.
And more work typically introduces delays into updating until you have
the time for the extra processing needed to update the Open-CAS kernel
driver as well as your kernel.  :-(

Although, I suppose most directly that's a lack of support for Open-CAS
in a distribution rather than in the upstream kernel.

Ultimately it needs automating in some way such that when your distro
publishes a new kernel package a rebuild of Open-CAS('s kernel module
RPM) for that new kernel is kicked off and an RPM is published in a
repo your servers are subscribed to in order to automatically get that
new kernel module when your distro gets a new kernel.

Quite doable.  Fortunately the Open-CAS project includes a make target
to build an RPM, but it builds to the currently installed kernel, not
the one that you are going to be installing in your update.  It also
requires lots of development tools, etc. on the target system to be
installed.

Alternatively, I have a patch (that I need to submit to Open-CAS) that
I spent a few hours working on last night that let's you specify an
alternate kernel version (i.e. the one in the updates repo that you
want to update to) and builds the Open-CAS RPMs in a mock chroot for
that kernel.  Simply have a process to scoop the result of that build
up and put it into a repo and you have automated Open-CAS updates ready
when you want to update the kernel.

The one missing piece is triggering all of that on the newly available
kernel update in the distro's upstream repos.  Fedora has some neat
tooling (anitya, fedbus, etc.) for that kind of triggering but other
distros do not sadly.

But this is starting to get far afield from LVM so maybe better just
end this discussion there.

Cheers,
b.

  reply	other threads:[~2025-08-07 17:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-06 22:35 Best use of a small SSD with LVM Brian J. Murrell
2025-08-07  2:22 ` matthew patton
2025-08-07  5:59   ` Brian J. Murrell
     [not found]   ` <d754fa089d273.c3f10ab0005ac8@gmail.com>
2025-08-07  6:58     ` Brian J. Murrell
2025-08-07 15:21   ` John Stoffel
2025-08-07 17:45     ` Brian J. Murrell [this message]
2025-08-07 15:16 ` John Stoffel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18005e040c49b51c94749509a43ec312a4a87c06.camel@interlinx.bc.ca \
    --to=brian@interlinx.bc.ca \
    --cc=linux-lvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).