travis test without any zfs send options

This commit is contained in:
Edwin Eefting 2020-05-17 18:19:32 +02:00
parent d2fe9b9ec7
commit 4dc4bdbba5

View File

@ -854,19 +854,19 @@ class ZfsDataset():
cmd.extend(["zfs", "send", ]) cmd.extend(["zfs", "send", ])
#all kind of performance options: # #all kind of performance options:
if "-L" in self.zfs_node.supported_send_options: # if "-L" in self.zfs_node.supported_send_options:
cmd.append("-L") # large block support # cmd.append("-L") # large block support
if "-e" in self.zfs_node.supported_send_options: # if "-e" in self.zfs_node.supported_send_options:
cmd.append("-e") # WRITE_EMBEDDED, more compact stream # cmd.append("-e") # WRITE_EMBEDDED, more compact stream
if "-c" in self.zfs_node.supported_send_options: # if "-c" in self.zfs_node.supported_send_options:
cmd.append("-c") # use compressed WRITE records # cmd.append("-c") # use compressed WRITE records
if not resume: # if not resume:
if "-D" in self.zfs_node.supported_send_options: # if "-D" in self.zfs_node.supported_send_options:
cmd.append("-D") # dedupped stream, sends less duplicate data # cmd.append("-D") # dedupped stream, sends less duplicate data
#raw? (for encryption) #raw? (for encryption)
if raw: if raw: