From: Christoph Hellwig <hch@infradead.org>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: cem@kernel.org, aalbersh@kernel.org, linux-xfs@vger.kernel.org
Subject: Re: [PATCH 4/8] xfs_db: access realtime file blocks
Date: Mon, 28 Oct 2024 01:37:12 -0700 [thread overview]
Message-ID: <Zx9NOOgASfMFkqzP@infradead.org> (raw)
In-Reply-To: <172983773789.3041229.10050634092165024838.stgit@frogsfrogsfrogs>
> + if (is_rtfile(iocur_top->data))
> + set_rt_cur(&typtab[type], (int64_t)dfsbno << mp->m_blkbb_log,
Shouldn't this be xfs_rtb_to_daddr?
> diff --git a/db/faddr.c b/db/faddr.c
> index ec4aae68bb5a81..fd65b86b5e915d 100644
> --- a/db/faddr.c
> +++ b/db/faddr.c
> @@ -323,7 +323,9 @@ fa_drtbno(
> dbprintf(_("null block number, cannot set new addr\n"));
> return;
> }
> - /* need set_cur to understand rt subvolume */
> +
> + set_rt_cur(&typtab[next], (int64_t)XFS_FSB_TO_BB(mp, bno), blkbb,
> + DB_RING_ADD, NULL);
Same here?
next prev parent reply other threads:[~2024-10-28 8:37 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 6:26 [PATCHBOMB] xfsprogs: utility changes for 6.12 Darrick J. Wong
2024-10-25 6:31 ` Darrick J. Wong
2024-10-25 6:31 ` [PATCHSET v31.2 1/5] xfsprogs: atomic file content commits Darrick J. Wong
2024-10-25 6:32 ` [PATCH 1/7] man: document file range commit ioctls Darrick J. Wong
2024-10-28 8:31 ` Christoph Hellwig
2024-10-25 6:32 ` [PATCH 2/7] libfrog: add support for commit range ioctl family Darrick J. Wong
2024-10-28 8:32 ` Christoph Hellwig
2024-10-25 6:33 ` [PATCH 3/7] libxfs: remove unused xfs_inode fields Darrick J. Wong
2024-10-28 8:32 ` Christoph Hellwig
2024-10-25 6:33 ` [PATCH 4/7] libxfs: validate inumber in xfs_iget Darrick J. Wong
2024-10-28 8:32 ` Christoph Hellwig
2024-10-25 6:33 ` [PATCH 5/7] xfs_fsr: port to new file exchange library function Darrick J. Wong
2024-10-28 8:33 ` Christoph Hellwig
2024-10-25 6:34 ` [PATCH 6/7] xfs_io: add a commitrange option to the exchangerange command Darrick J. Wong
2024-10-28 8:33 ` Christoph Hellwig
2024-10-25 6:34 ` [PATCH 7/7] xfs_io: add atomic file update commands to exercise file commit range Darrick J. Wong
2024-10-28 8:33 ` Christoph Hellwig
2024-10-25 6:31 ` [PATCHSET v2.6 2/5] xfs_db: debug realtime geometry Darrick J. Wong
2024-10-25 6:34 ` [PATCH 1/8] xfs_db: support passing the realtime device to the debugger Darrick J. Wong
2024-10-28 8:34 ` Christoph Hellwig
2024-10-25 6:34 ` [PATCH 2/8] xfs_db: report the realtime device when associated with each io cursor Darrick J. Wong
2024-10-28 8:34 ` Christoph Hellwig
2024-10-25 6:35 ` [PATCH 3/8] xfs_db: make the daddr command target the realtime device Darrick J. Wong
2024-10-28 8:35 ` Christoph Hellwig
2024-10-25 6:35 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2024-10-28 8:37 ` Christoph Hellwig [this message]
2024-10-28 17:50 ` Darrick J. Wong
2024-10-25 6:35 ` [PATCH 5/8] xfs_db: access arbitrary realtime blocks and extents Darrick J. Wong
2024-10-28 8:38 ` Christoph Hellwig
2024-10-28 17:51 ` Darrick J. Wong
2024-10-25 6:35 ` [PATCH 6/8] xfs_db: enable conversion of rt space units Darrick J. Wong
2024-10-28 8:41 ` Christoph Hellwig
2024-10-28 17:58 ` Darrick J. Wong
2024-10-25 6:36 ` [PATCH 7/8] xfs_db: convert rtbitmap geometry Darrick J. Wong
2024-10-28 8:42 ` Christoph Hellwig
2024-10-25 6:36 ` [PATCH 8/8] xfs_db: convert rtsummary geometry Darrick J. Wong
2024-10-28 8:42 ` Christoph Hellwig
2024-10-25 6:31 ` [PATCHSET v2.6 3/5] xfs_metadump: support external devices Darrick J. Wong
2024-10-25 6:36 ` [PATCH 1/1] xfs_db: allow setting current address to log blocks Darrick J. Wong
2024-10-28 8:43 ` Christoph Hellwig
2024-10-25 6:32 ` [PATCHSET v2.6 4/5] mkfs/repair: use new rtbitmap helpers Darrick J. Wong
2024-10-25 6:36 ` [PATCH 1/6] xfs_repair: checking rt free space metadata must happen during phase 4 Darrick J. Wong
2024-10-28 8:43 ` Christoph Hellwig
2024-10-25 6:37 ` [PATCH 2/6] xfs_repair: use xfs_validate_rt_geometry Darrick J. Wong
2024-10-25 6:37 ` [PATCH 3/6] mkfs: remove a pointless rtfreesp_init forward declaration Darrick J. Wong
2024-10-25 6:37 ` [PATCH 4/6] mkfs: use xfs_rtfile_initialize_blocks Darrick J. Wong
2024-10-25 6:37 ` [PATCH 5/6] xfs_repair: use libxfs_rtfile_initialize_blocks Darrick J. Wong
2024-10-25 6:38 ` [PATCH 6/6] xfs_repair: stop preallocating blocks in mk_rbmino and mk_rsumino Darrick J. Wong
2024-10-25 6:32 ` [PATCHSET v31.2 5/5] xfs_scrub_all: bug fix for 6.12 Darrick J. Wong
2024-10-25 6:38 ` [PATCH 1/1] xfs_scrub_all: wait for services to start activating Darrick J. Wong
2024-10-28 8:44 ` Christoph Hellwig
2024-10-28 16:45 ` Darrick J. Wong
-- strict thread matches above, loose matches on Subject: below --
2024-10-31 23:07 [PATCHSET v5.3 3/7] xfs_db: debug realtime geometry Darrick J. Wong
2024-10-31 23:22 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2024-10-29 15:47 [PATCHSET v5.2 1/2] xfs_db: debug realtime geometry Darrick J. Wong
2024-10-29 15:48 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2024-10-30 4:34 ` Christoph Hellwig
2023-12-31 19:52 [PATCHSET v2.0 03/17] xfs_db: debug realtime geometry Darrick J. Wong
2023-12-31 23:45 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2022-12-30 22:19 [PATCHSET v1.0 0/8] xfs_db: debug realtime geometry Darrick J. Wong
2022-12-30 22:19 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zx9NOOgASfMFkqzP@infradead.org \
--to=hch@infradead.org \
--cc=aalbersh@kernel.org \
--cc=cem@kernel.org \
--cc=djwong@kernel.org \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.