All of lore.kernel.org
 help / color / mirror / Atom feed
* improve libxfs device handling
@ 2023-12-11 16:37 Christoph Hellwig
  2023-12-11 16:37 ` [PATCH 01/23] libxfs: remove the unused icache_flags member from struct libxfs_xinit Christoph Hellwig
                   ` (23 more replies)
  0 siblings, 24 replies; 49+ messages in thread
From: Christoph Hellwig @ 2023-12-11 16:37 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: linux-xfs

Hi all,

this series how libxfs deals with the data, log and rt devices.
A lot of it is just tidying up cruft old code, but it then introduces
a libxfs_dev structure that describes a single device to further
simplify the code.

Diffstat:
 copy/xfs_copy.c     |   19 --
 db/crc.c            |    2 
 db/fuzz.c           |    2 
 db/info.c           |    2 
 db/init.c           |   29 +--
 db/init.h           |    3 
 db/metadump.c       |    4 
 db/output.c         |    2 
 db/sb.c             |   18 +-
 db/write.c          |    2 
 growfs/xfs_growfs.c |   24 +--
 include/libxfs.h    |   87 +++++------
 include/libxlog.h   |    7 
 include/xfs_mount.h |    3 
 libfrog/linux.c     |   39 +----
 libfrog/platform.h  |    6 
 libxfs/init.c       |  398 +++++++++++++++-------------------------------------
 libxfs/libxfs_io.h  |    5 
 libxfs/rdwr.c       |   16 --
 libxfs/topology.c   |   23 +--
 libxfs/topology.h   |    4 
 libxlog/util.c      |   49 +++---
 logprint/logprint.c |   79 ++++------
 mkfs/xfs_mkfs.c     |  249 +++++++++++++-------------------
 repair/globals.h    |    2 
 repair/init.c       |   40 ++---
 repair/phase2.c     |   27 ---
 repair/prefetch.c   |    2 
 repair/protos.h     |    2 
 repair/sb.c         |   18 +-
 repair/xfs_repair.c |   15 -
 31 files changed, 453 insertions(+), 725 deletions(-)

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2023-12-18 14:36 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-11 16:37 improve libxfs device handling Christoph Hellwig
2023-12-11 16:37 ` [PATCH 01/23] libxfs: remove the unused icache_flags member from struct libxfs_xinit Christoph Hellwig
2023-12-18  8:37   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 02/23] libxfs: remove the dead {d,log,rt}path variables in libxfs_init Christoph Hellwig
2023-12-18  8:38   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 03/23] libxfs/frog: remove latform_find{raw,block}path Christoph Hellwig
2023-12-18  8:41   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 04/23] libxfs: remove the volname concept Christoph Hellwig
2023-12-18  8:47   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 05/23] xfs_logprint: move all code to set up the fake xlog into logstat() Christoph Hellwig
2023-12-18  8:51   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 06/23] libxlog: remove the verbose argument to xlog_is_dirty Christoph Hellwig
2023-12-18  8:56   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 07/23] libxlog: add a helper to initialize a xlog without clobbering the x structure Christoph Hellwig
2023-12-18  9:00   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 08/23] libxlog: don't require a libxfs_xinit structure for xlog_init Christoph Hellwig
2023-12-18  9:06   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 09/23] libxlog: remove the global libxfs_xinit x structure Christoph Hellwig
2023-12-18  9:18   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 10/23] libxfs: rename struct libxfs_xinit to libxfs_init Christoph Hellwig
2023-12-18  9:20   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 11/23] libxfs: pass a struct libxfs_init to libxfs_mount Christoph Hellwig
2023-12-18  9:21   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 12/23] libxfs: pass a struct libxfs_init to libxfs_alloc_buftarg Christoph Hellwig
2023-12-18  9:21   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 13/23] libxfs: merge the file vs device cases in libxfs_init Christoph Hellwig
2023-12-18  9:23   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 14/23] libxfs: making passing flags to libxfs_init less confusing Christoph Hellwig
2023-12-18 12:30   ` Carlos Maiolino
2023-12-18 14:36     ` Christoph Hellwig
2023-12-11 16:37 ` [PATCH 15/23] libxfs: remove the setblksize == 1 case in libxfs_device_open Christoph Hellwig
2023-12-18 12:44   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 16/23] libfrog: make platform_set_blocksize exit on fatal failure Christoph Hellwig
2023-12-18 12:48   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 17/23] libxfs: remove dead size < 0 checks in libxfs_init Christoph Hellwig
2023-12-18 12:51   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 18/23] libxfs: mark libxfs_device_{open,close} static Christoph Hellwig
2023-12-18 12:52   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 19/23] libxfs: return the opened fd from libxfs_device_open Christoph Hellwig
2023-12-18 12:53   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 20/23] libxfs: pass the device fd to discard_blocks Christoph Hellwig
2023-12-18 12:53   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 21/23] xfs_repair: remove various libxfs_device_to_fd calls Christoph Hellwig
2023-12-18 12:55   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 22/23] libxfs: stash away the device fd in struct xfs_buftarg Christoph Hellwig
2023-12-18 12:58   ` Carlos Maiolino
2023-12-11 16:37 ` [PATCH 23/23] libxfs: split out a libxfs_dev structure from struct libxfs_init Christoph Hellwig
2023-12-18 13:01   ` Carlos Maiolino
2023-12-12  1:52 ` improve libxfs device handling Darrick J. Wong

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.