btrfs_filesystem_defragment


Description:

[ Version ( since = "1.29.22" ) ]
public bool btrfs_filesystem_defragment (string path, BTRFSFilesystemDefragment? optargs) throws Error

defragment a file or directory

Defragment a file or directory on a btrfs filesystem. compress is one of zlib or lzo.

This function depends on the feature "btrfs". See also feature_available.

Parameters:

this

A GuestfsSession object

optargs

a GuestfsBTRFSFilesystemDefragment containing optional arguments

Returns:

true on success, false on error