Permalink
Browse files

Add lz4 compression to the GUI installer options

  • Loading branch information...
kmoore134 committed Aug 7, 2013
1 parent b77e435 commit c8c7b0d3480c0a91750dba60f4c62dc79069cf3b
Showing with 7 additions and 0 deletions.
  1. +6 −0 src-qt4/pc-installgui/wizardDisk.cpp
  2. +1 −0 src-qt4/pc-installgui/wizardDisk.h
@@ -637,6 +637,7 @@ void wizardDisk::slotTreeMountsRightClick()
popupCmp = popup->addMenu("compression");
popupCmp->addAction( "off", this, SLOT(slotZCmpOFF()));
popupCmp->addAction( "on", this, SLOT(slotZCmpON()));
+ popupCmp->addAction( "lz4", this, SLOT(slotZCmpLZ4()));
popupCmp->addAction( "lzjb", this, SLOT(slotZCmpLZJB()));
popupCmp->addAction( "gzip", this, SLOT(slotZCmpGZIP()));
popupCmp->addAction( "zle", this, SLOT(slotZCmpZLE()));
@@ -697,6 +698,11 @@ void wizardDisk::slotZCmpGZIP()
toggleZFSOpt(QString("compress=gzip"));
}
+void wizardDisk::slotZCmpLZ4()
+{
+ toggleZFSOpt(QString("compress=lz4"));
+}
+
void wizardDisk::slotZCmpLZJB()
{
toggleZFSOpt(QString("compress=lzjb"));
@@ -47,6 +47,7 @@ private slots:
void slotZDDVERIFY();
void slotZCmpON();
void slotZCmpOFF();
+ void slotZCmpLZ4();
void slotZCmpLZJB();
void slotZCmpGZIP();
void slotZCmpZLE();

0 comments on commit c8c7b0d

Please sign in to comment.