[gnome-disk-utility] Bug 606663 – Change default chunk size to match mdadm (512KiB)
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Bug 606663 – Change default chunk size to match mdadm (512KiB)
- Date: Fri, 12 Mar 2010 17:14:22 +0000 (UTC)
commit a4bf6bba0a377df1e7b78fc8dfd7b17323a5242b
Author: David Zeuthen <davidz redhat com>
Date: Fri Mar 12 12:09:48 2010 -0500
Bug 606663 â?? Change default chunk size to match mdadm (512KiB)
https://bugzilla.gnome.org/show_bug.cgi?id=606663
src/gdu-gtk/gdu-create-linux-md-dialog.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gdu-gtk/gdu-create-linux-md-dialog.c b/src/gdu-gtk/gdu-create-linux-md-dialog.c
index a4f8397..5fb67e2 100644
--- a/src/gdu-gtk/gdu-create-linux-md-dialog.c
+++ b/src/gdu-gtk/gdu-create-linux-md-dialog.c
@@ -641,7 +641,8 @@ gdu_create_linux_md_dialog_constructed (GObject *object)
_("512 KiB"));
gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box),
_("1 MiB"));
- dialog->priv->stripe_size = 64 * 1024;
+ /* keep in sync with gtk_combo_box_set_active() on stripe_size_combo_box below */
+ dialog->priv->stripe_size = 512 * 1024;
g_signal_connect (combo_box,
"changed",
G_CALLBACK (on_stripe_size_combo_box_changed),
@@ -733,7 +734,8 @@ gdu_create_linux_md_dialog_constructed (GObject *object)
/* Calls on_level_combo_box_changed() which calls update() */
gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->priv->level_combo_box), 0);
- gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->priv->stripe_size_combo_box), 4);
+ /* keep in sync with "..stripe_size = 512 * 1024;" above */
+ gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->priv->stripe_size_combo_box), 7);
/* select a sane size for the dialog and allow resizing */
gtk_widget_set_size_request (GTK_WIDGET (dialog), 500, 550);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]