mbox series

[0/9] dm deadcoding

Message ID 20241003011554.266654-1-linux@treblig.org (mailing list archive)
Headers show
Series dm deadcoding | expand

Message

Dr. David Alan Gilbert Oct. 3, 2024, 1:15 a.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

Hi,
  This is a collection of deadcoding in various parts
of dm.  It's all strictly function deletion with no
(expected) change of behaviour.

Build and booted on x86-64, but no dm tests done.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>


Dr. David Alan Gilbert (9):
  dm cache: Remove unused btracker_nr_writebacks_queued
  dm cache: Remove unused dm_cache_dump
  dm cache: Remove unused dm_cache_size
  dm cache: Remove unused functions in bio-prison-v1
  dm: Remove unused dm_set_md_type
  dm: Remove unused dm_table_bio_based
  dm: zoned: Remove unused functions
  dm vdo: Remove unused functions
  dm vdo: Remove unused uds_compute_index_size

 drivers/md/dm-bio-prison-v1.c            | 35 -----------------
 drivers/md/dm-bio-prison-v1.h            | 24 ------------
 drivers/md/dm-cache-background-tracker.c |  6 ---
 drivers/md/dm-cache-background-tracker.h |  1 -
 drivers/md/dm-cache-metadata.c           | 33 ----------------
 drivers/md/dm-cache-metadata.h           |  3 --
 drivers/md/dm-table.c                    |  5 ---
 drivers/md/dm-vdo/data-vio.c             | 29 --------------
 drivers/md/dm-vdo/data-vio.h             |  5 ---
 drivers/md/dm-vdo/indexer/index-layout.c | 26 ------------
 drivers/md/dm-vdo/indexer/indexer.h      |  4 --
 drivers/md/dm-zoned-metadata.c           | 50 ------------------------
 drivers/md/dm-zoned.h                    |  2 -
 drivers/md/dm.c                          |  6 ---
 drivers/md/dm.h                          |  2 -
 15 files changed, 231 deletions(-)

Comments

Mikulas Patocka Oct. 21, 2024, 11:55 a.m. UTC | #1
Hi

I've accepted these patches.

Mikulas



On Thu, 3 Oct 2024, linux@treblig.org wrote:

> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> Hi,
>   This is a collection of deadcoding in various parts
> of dm.  It's all strictly function deletion with no
> (expected) change of behaviour.
> 
> Build and booted on x86-64, but no dm tests done.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> 
> 
> Dr. David Alan Gilbert (9):
>   dm cache: Remove unused btracker_nr_writebacks_queued
>   dm cache: Remove unused dm_cache_dump
>   dm cache: Remove unused dm_cache_size
>   dm cache: Remove unused functions in bio-prison-v1
>   dm: Remove unused dm_set_md_type
>   dm: Remove unused dm_table_bio_based
>   dm: zoned: Remove unused functions
>   dm vdo: Remove unused functions
>   dm vdo: Remove unused uds_compute_index_size
> 
>  drivers/md/dm-bio-prison-v1.c            | 35 -----------------
>  drivers/md/dm-bio-prison-v1.h            | 24 ------------
>  drivers/md/dm-cache-background-tracker.c |  6 ---
>  drivers/md/dm-cache-background-tracker.h |  1 -
>  drivers/md/dm-cache-metadata.c           | 33 ----------------
>  drivers/md/dm-cache-metadata.h           |  3 --
>  drivers/md/dm-table.c                    |  5 ---
>  drivers/md/dm-vdo/data-vio.c             | 29 --------------
>  drivers/md/dm-vdo/data-vio.h             |  5 ---
>  drivers/md/dm-vdo/indexer/index-layout.c | 26 ------------
>  drivers/md/dm-vdo/indexer/indexer.h      |  4 --
>  drivers/md/dm-zoned-metadata.c           | 50 ------------------------
>  drivers/md/dm-zoned.h                    |  2 -
>  drivers/md/dm.c                          |  6 ---
>  drivers/md/dm.h                          |  2 -
>  15 files changed, 231 deletions(-)
> 
> -- 
> 2.46.2
>
Dr. David Alan Gilbert Oct. 21, 2024, 12:02 p.m. UTC | #2
* Mikulas Patocka (mpatocka@redhat.com) wrote:
> Hi
> 
> I've accepted these patches.

Thanks, yep I noticed them in -next :-)

Dave

> Mikulas
> 
> 
> 
> On Thu, 3 Oct 2024, linux@treblig.org wrote:
> 
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> > 
> > Hi,
> >   This is a collection of deadcoding in various parts
> > of dm.  It's all strictly function deletion with no
> > (expected) change of behaviour.
> > 
> > Build and booted on x86-64, but no dm tests done.
> > 
> > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> > 
> > 
> > Dr. David Alan Gilbert (9):
> >   dm cache: Remove unused btracker_nr_writebacks_queued
> >   dm cache: Remove unused dm_cache_dump
> >   dm cache: Remove unused dm_cache_size
> >   dm cache: Remove unused functions in bio-prison-v1
> >   dm: Remove unused dm_set_md_type
> >   dm: Remove unused dm_table_bio_based
> >   dm: zoned: Remove unused functions
> >   dm vdo: Remove unused functions
> >   dm vdo: Remove unused uds_compute_index_size
> > 
> >  drivers/md/dm-bio-prison-v1.c            | 35 -----------------
> >  drivers/md/dm-bio-prison-v1.h            | 24 ------------
> >  drivers/md/dm-cache-background-tracker.c |  6 ---
> >  drivers/md/dm-cache-background-tracker.h |  1 -
> >  drivers/md/dm-cache-metadata.c           | 33 ----------------
> >  drivers/md/dm-cache-metadata.h           |  3 --
> >  drivers/md/dm-table.c                    |  5 ---
> >  drivers/md/dm-vdo/data-vio.c             | 29 --------------
> >  drivers/md/dm-vdo/data-vio.h             |  5 ---
> >  drivers/md/dm-vdo/indexer/index-layout.c | 26 ------------
> >  drivers/md/dm-vdo/indexer/indexer.h      |  4 --
> >  drivers/md/dm-zoned-metadata.c           | 50 ------------------------
> >  drivers/md/dm-zoned.h                    |  2 -
> >  drivers/md/dm.c                          |  6 ---
> >  drivers/md/dm.h                          |  2 -
> >  15 files changed, 231 deletions(-)
> > 
> > -- 
> > 2.46.2
> > 
> 
>