[PATCH 0/9] dm deadcoding

linux@treblig.org posted 9 patches 1 month, 3 weeks ago
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(-)
[PATCH 0/9] dm deadcoding
Posted by linux@treblig.org 1 month, 3 weeks ago
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
Re: [PATCH 0/9] dm deadcoding
Posted by Mikulas Patocka 1 month, 1 week ago
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
>
Re: [PATCH 0/9] dm deadcoding
Posted by Dr. David Alan Gilbert 1 month, 1 week ago
* 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
> > 
> 
> 
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/