Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: codyps/rust-libzfs Loading
base: master
Choose a base ref
...
head repository: ahrens/rust-libzfs Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 10 files changed
  • 3 contributors

Commits on Jan 12, 2022

  1. set packed size correctly

    ahrens authored and pcd1193182 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    f50b9f1 View commit details
    Browse the repository at this point in the history
  2. Add NvEncode support for some array types (#3)

    This PR adds partial supports for the uint64, string, and nvlist array types. Specifically, it adds NvEncode support, so they can be turned into NvLists. It was tested in conjunction with openzfs/zfs#12728, which adds const to a number of the array functions in the libnvpair code so that we don't need to use mutable references everywhere in rust.
    pcd1193182 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    e20f1ff View commit details
    Browse the repository at this point in the history
  3. serde serializer + deserializer for NvList

    Add a serde serializer that can serialize structs to NvList's.
    
    Add a serde deserializer that can deserialize NvList's into structs.
    ahrens authored and pcd1193182 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    55c3bcf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a44af5 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Merge pull request #1 from pcd1193182/current

    Update to current state
    pcd1193182 committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    8d79a11 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Deserialize Option and newtypes transparently

    When deserializing an nvlist, if the struct calls for an Option or a
    newtype, expect simply the wrapped value in the nvlist (or absent from
    the nvlist in the case of an Option).  This allows us to deserialize a
    DATA_TYPE_UINT64 nvpair as a `struct NewType(u64)` or an `Option<u64>`.
    ahrens committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    13df4cf View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Configuration menu
    Copy the full SHA
    5f3968e View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    77bca6a View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. Configuration menu
    Copy the full SHA
    215ad15 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. NvList is Sync

    The NvList type does not have interior mutability, so to modify it,
    exclusive access is required (e.g. `NvList` or `&mut NvListRef`).
    Therefore, a shared reference to NvList (i.e. `&NvListRef`) can be sent
    to other threads, and accessed concurrently from multiple threads.  So
    NvList can be marked `Sync`.
    ahrens committed May 19, 2022
    Configuration menu
    Copy the full SHA
    e021787 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. Configuration menu
    Copy the full SHA
    c41a400 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. handle deserializing to vec of structs

    also fix some clippy warnings
    ahrens committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    61af936 View commit details
    Browse the repository at this point in the history
Loading