westerndigitalcorporation / zenfs

ZenFS is a storage backend for RocksDB that enables support for ZNS SSDs and SMR HDDs.
GNU General Public License v2.0
238 stars 87 forks source link

Zenfs cmds #157

Closed aravind-wdc closed 2 years ago

aravind-wdc commented 2 years ago

Added 2 more commands to zenfs utility.

  1. link - creates a hardlink
  2. delete - deletes specified file

These commands can be helpful for unit testing and debugging. These are good to have features.

MaisenbacherD commented 2 years ago

The two commits that introduce the link and delete command to ZenFS utility look good to me.

We have now two pull requests for the LinkFile support commit (https://github.com/westerndigitalcorporation/zenfs/pull/156).

yhr commented 2 years ago

Let's review this after the link support has been merged. Also, please make sure to use the path-normalization function (zenfs_format_path) that was introduced with with backup/restore fixes

aravind-wdc commented 2 years ago

Rebased with master.

aravind-wdc commented 2 years ago

Rebased on latest master.