Project

General

Profile

Actions

Feature #16424

closed

libavl should expose avl_update{,_lt,_gt}

Added by Andy Fiddaman 25 days ago. Updated 12 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The avl_update, avl_update_lt and avl_update_gt functions, although used in the kernel, are not currently exposed to userland by libavl.

To enable the ZFS refcounting code (#12603) to be built in both kernel and userland contexts, we should document and expose these.

Actions #1

Updated by Electric Monk 19 days ago

  • Gerrit CR set to 3396
Actions #2

Updated by Andy Fiddaman 19 days ago

  • Gerrit CR deleted (3396)
Actions #3

Updated by Electric Monk 19 days ago

  • Gerrit CR set to 3397
Actions #4

Updated by Andy Fiddaman 13 days ago

I've viewed the new man pages with mandoc and confirmed that the updated example in avl(3lib) works.
This has also been tested in conjunction with #16203 that makes use of the functions from userland ZFS test programs.

Actions #5

Updated by Electric Monk 12 days ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 7a87437fd36d10a97e4d5952dba549b6f0fadbfc

commit  7a87437fd36d10a97e4d5952dba549b6f0fadbfc
Author: Andy Fiddaman <illumos@fiddaman.net>
Date:   2024-04-09T15:21:07.000Z

    16424 libavl should expose avl_update{,_lt,_gt}
    Reviewed by: Bill Sommerfeld <sommerfeld@hamachi.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@mnx.io>

Actions

Also available in: Atom PDF