All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Lei <ming.lei@redhat.com>
To: Vishnu ks <ksvishnu56@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>,
	Song Liu via Lsf-pc <lsf-pc@lists.linux-foundation.org>,
	hch@infradead.org, yanjun.zhu@linux.dev,
	linux-block@vger.kernel.org, bpf@vger.kernel.org,
	linux-nvme@lists.infradead.org
Subject: Re: [Lsf-pc] [LSF/MM/BPF TOPIC] Improving Block Layer Tracepoints for Next-Generation Backup Systems
Date: Fri, 7 Feb 2025 10:06:14 +0800	[thread overview]
Message-ID: <Z6Vqlo3s3sK6d0ng@fedora> (raw)
In-Reply-To: <CAJHDoJZ5rFhgu-R_N6e82bqkY43S-sXKVs2khnnnZrqJH1vcHw@mail.gmail.com>

On Mon, Jan 13, 2025 at 11:01:30PM +0530, Vishnu ks wrote:
> Thanks everyone for the detailed technical feedback and clarifications
> - they've been extremely valuable in understanding the fundamental
> challenges and existing solutions.
> 
> I appreciate the points about md-cluster and DRBD's network RAID
> capabilities. While these are robust solutions for network-based
> replication, I'm particularly interested in the point-in-time recovery
> capability for scenarios like ransomware recovery, where being able to
> roll back to a specific point before encryption occurred would be
> valuable.
> 
> Regarding blk_filter - I've been exploring it since it was mentioned,
> and it indeed seems to be the right approach for what we're trying to
> achieve. However, I've found that many of our current requirements can
> actually be implemented using eBPF without additional kernel modules.
> I plan to create a detailed demonstration video to share my findings
> with this thread. Additionally, I'll be cleaning up and open-sourcing
> our replicator utility implementation for community feedback.
> 
> I would very much like to attend the LSF/MM/BPF summit to discuss
> these ideas in person and learn more about blk_filter and proper block
> layer fundamentals. Would it be possible for someone to help me with
> an invitation?

If one pair of bpf struct_ops are added for attaching to submit_bio()
and ->bi_end_io() in bio_endio(), lots of cases can be covered:

- blk filter

- bio interposer

- blk-snap

- easier IO trace

...

Then both bio and request based devices can be covered.

It shouldn't be hard to figure out generic bio/bvec kfuncs for helping block IO
bpf prog to do more valuable things & fun.

Thanks, 
Ming


  reply	other threads:[~2025-02-07  2:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-01  6:34 [LSF/MM/BPF TOPIC] Improving Block Layer Tracepoints for Next-Generation Backup Systems Vishnu ks
2025-01-03  9:26 ` Christoph Hellwig
2025-01-04  0:47 ` Zhu Yanjun
2025-01-04  1:11 ` Song Liu
2025-01-04 17:52   ` Vishnu ks
2025-01-06  1:53     ` Damien Le Moal
2025-01-06 18:28       ` Vishnu ks
2025-01-06  7:37     ` Christoph Hellwig
2025-01-06 14:39       ` Zhu Yanjun
2025-01-06 18:36         ` Vishnu ks
2025-01-06 18:31       ` Vishnu ks
2025-01-06 21:19     ` Song Liu
2025-01-06 22:18       ` [Lsf-pc] " Dan Williams
2025-01-13 17:31         ` Vishnu ks
2025-02-07  2:06           ` Ming Lei [this message]
2025-02-07 11:15             ` Vishnu ks

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=Z6Vqlo3s3sK6d0ng@fedora \
    --to=ming.lei@redhat.com \
    --cc=bpf@vger.kernel.org \
    --cc=dan.j.williams@intel.com \
    --cc=hch@infradead.org \
    --cc=ksvishnu56@gmail.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    --cc=yanjun.zhu@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.