mbox series

[0/4] Selectable checksum implementation

Message ID cover.1659106597.git.dsterba@suse.com (mailing list archive)
Headers show
Series Selectable checksum implementation | expand

Message

David Sterba July 29, 2022, 2:59 p.m. UTC
Add a possibility to load accelerated checksum implementation after a
filesystem has been mounted. Detailed description in patch 3.

David Sterba (4):
  btrfs: prepare more slots for checksum shash
  btrfs: assign checksum shash slots on init
  btrfs: add checksum implementation selection after mount
  btrfs: sysfs: print all loaded csums implementations

 fs/btrfs/check-integrity.c |   4 +-
 fs/btrfs/compression.c     |   4 +-
 fs/btrfs/ctree.h           |  13 ++++-
 fs/btrfs/disk-io.c         |  30 +++++++----
 fs/btrfs/file-item.c       |   4 +-
 fs/btrfs/inode.c           |   4 +-
 fs/btrfs/scrub.c           |  12 ++---
 fs/btrfs/super.c           |   2 -
 fs/btrfs/sysfs.c           | 101 +++++++++++++++++++++++++++++++++++--
 9 files changed, 144 insertions(+), 30 deletions(-)

Comments

Boris Burkov July 29, 2022, 5 p.m. UTC | #1
On Fri, Jul 29, 2022 at 04:59:06PM +0200, David Sterba wrote:
> Add a possibility to load accelerated checksum implementation after a
> filesystem has been mounted. Detailed description in patch 3.

What branch is this based on? I am having trouble applying it to
misc-next or for-next.

> 
> David Sterba (4):
>   btrfs: prepare more slots for checksum shash
>   btrfs: assign checksum shash slots on init
>   btrfs: add checksum implementation selection after mount
>   btrfs: sysfs: print all loaded csums implementations
> 
>  fs/btrfs/check-integrity.c |   4 +-
>  fs/btrfs/compression.c     |   4 +-
>  fs/btrfs/ctree.h           |  13 ++++-
>  fs/btrfs/disk-io.c         |  30 +++++++----
>  fs/btrfs/file-item.c       |   4 +-
>  fs/btrfs/inode.c           |   4 +-
>  fs/btrfs/scrub.c           |  12 ++---
>  fs/btrfs/super.c           |   2 -
>  fs/btrfs/sysfs.c           | 101 +++++++++++++++++++++++++++++++++++--
>  9 files changed, 144 insertions(+), 30 deletions(-)
> 
> -- 
> 2.36.1
>
David Sterba July 29, 2022, 5:23 p.m. UTC | #2
On Fri, Jul 29, 2022 at 10:00:32AM -0700, Boris Burkov wrote:
> On Fri, Jul 29, 2022 at 04:59:06PM +0200, David Sterba wrote:
> > Add a possibility to load accelerated checksum implementation after a
> > filesystem has been mounted. Detailed description in patch 3.
> 
> What branch is this based on? I am having trouble applying it to
> misc-next or for-next.

It's v5.19-rc8, I pulled it from another repository that does not track
misc-next. I'll rebase it and resend.