Re: [PATCH 3/4] libxfs: also query log device topology in get_topology

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 12, 2024 at 05:47:42AM +0100, Christoph Hellwig wrote:
> Also query the log device topology in get_topology, which we'll need
> in mkfs in a bit.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>

--D

> ---
>  libxfs/topology.c | 1 +
>  libxfs/topology.h | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/libxfs/topology.c b/libxfs/topology.c
> index 227f8c44f..991f82706 100644
> --- a/libxfs/topology.c
> +++ b/libxfs/topology.c
> @@ -346,4 +346,5 @@ get_topology(
>  {
>  	get_device_topology(&xi->data, &ft->data, force_overwrite);
>  	get_device_topology(&xi->rt, &ft->rt, force_overwrite);
> +	get_device_topology(&xi->log, &ft->log, force_overwrite);
>  }
> diff --git a/libxfs/topology.h b/libxfs/topology.h
> index ba0c8f669..fa0a23b77 100644
> --- a/libxfs/topology.h
> +++ b/libxfs/topology.h
> @@ -20,6 +20,7 @@ struct device_topology {
>  struct fs_topology {
>  	struct device_topology	data;
>  	struct device_topology	rt;
> +	struct device_topology	log;
>  };
>  
>  void
> -- 
> 2.39.2
> 
> 




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux