Message ID | 20200325021629.15103-1-chaitanya.kulkarni@wdc.com (mailing list archive) |
---|---|
Headers | show |
Series | null_blk: add tracepoints for zoned mode | expand |
Hi Jens, Can we get this in ? On 03/24/2020 08:21 PM, Chaitanya Kulkarni wrote: > Hi Jens, > > Recently we've added several new operations for zoned block devices > blk-zone.c (ZBD). These operations have a direct effect on the > zone-state machine present in the null_blk_zoned.c. > > This will allow us to add new testcases in blktests in order to verify > the correct operations on the driver side. > > This is a small patch series which adds tracepoints for the null_blk > block driver when configured in a zoned mode (with command line > parameter zoned=1). > > The first patch is a prep patch that adds a helper to stringify zone > conditions which we use in the trace, the second patch adds new > tracepoint definitions and the third patch allows null_blk_zoned to > trace operations. > > Please have a look at the end for sample test output which has tests > for CONFIG_BLK_DEV_ZONED and !CONFIG_BLK_DEV_ZONED. > > Regards, > Chaitanya >
On 3/26/20 9:12 PM, Chaitanya Kulkarni wrote: > Hi Jens, > > Can we get this in ? There still seems to be the unresolved issue of the function declaration. I agree that we should not have a declaration for a function if CONFIG_BLK_DEV_ZONED isn't set, so move it under the existing ifdef.
On 2020/03/28 0:35, Jens Axboe wrote: > On 3/26/20 9:12 PM, Chaitanya Kulkarni wrote: >> Hi Jens, >> >> Can we get this in ? > > There still seems to be the unresolved issue of the function > declaration. I agree that we should not have a declaration for > a function if CONFIG_BLK_DEV_ZONED isn't set, so move it under > the existing ifdef. The latest v4 series that Chaitanya posted addressed this issue. The subject of this email is indeed v3 though...
On 3/27/20 10:05 AM, Damien Le Moal wrote: > On 2020/03/28 0:35, Jens Axboe wrote: >> On 3/26/20 9:12 PM, Chaitanya Kulkarni wrote: >>> Hi Jens, >>> >>> Can we get this in ? >> >> There still seems to be the unresolved issue of the function >> declaration. I agree that we should not have a declaration for >> a function if CONFIG_BLK_DEV_ZONED isn't set, so move it under >> the existing ifdef. > > The latest v4 series that Chaitanya posted addressed this issue. > The subject of this email is indeed v3 though... What's the msgid of that posting, I don't see it here?
On 3/27/20 8:35 AM, Jens Axboe wrote: > On 3/26/20 9:12 PM, Chaitanya Kulkarni wrote: >> Hi Jens, >> >> Can we get this in ? > There still seems to be the unresolved issue of the function > declaration. I agree that we should not have a declaration for > a function if CONFIG_BLK_DEV_ZONED isn't set, so move it under > the existing ifdef. > Sorry for replying to previous series. Here is link for V4 which has above fix and Damien's review :- https://www.spinics.net/lists/linux-block/msg51305.html
On 3/27/20 1:35 PM, Chaitanya Kulkarni wrote: > On 3/27/20 8:35 AM, Jens Axboe wrote: >> On 3/26/20 9:12 PM, Chaitanya Kulkarni wrote: >>> Hi Jens, >>> >>> Can we get this in ? >> There still seems to be the unresolved issue of the function >> declaration. I agree that we should not have a declaration for >> a function if CONFIG_BLK_DEV_ZONED isn't set, so move it under >> the existing ifdef. >> > Sorry for replying to previous series. > > Here is link for V4 which has above fix and Damien's review :- > > https://www.spinics.net/lists/linux-block/msg51305.html Applied, thanks.