Displaying 14 results from an estimated 14 matches for "space_left".
2009 May 28
1
[PATCH node] REPOST Joey's patch missed by previous repost
ACK, pushed.
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...dev_name) || return 0
+ get_drive_size $HOSTVGDRIVE HOSTVGDRIVESPACE
+ echo $HOSTVGDRIVESPACE
printf "\n\nPlease configure storage partitions.\n\n"
printf "* Enter partition sizes in MB.\n"
@@ -210,7 +229,7 @@ do_configure()
return
fi
- local space_left=$SPACE
+ local space_left=$HOSTVGDRIVESPACE
for part in swap root config logging data ; do
part_regexp="^0$"
if [ "$part" = "data" ]; then
@@ -250,13 +269,13 @@ do_configure()
if ! check_partition_sizes; then
printf "Pleas...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...DRIVESPACE
- echo $HOSTVGDRIVESPACE
-
printf "\n\nPlease configure storage partitions.\n\n"
printf "* Enter partition sizes in MB.\n"
printf "* A value of 0 indicates the partition should be disabled.\n"
@@ -236,7 +247,8 @@ do_configure()
local space_left=$HOSTVGDRIVESPACE
if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
- partlist="boot swap root config logging data"
+ partlist="boot" # swap root config logging data"
+ local space_left=$BOOTDRIVESPACE
else
partlist="...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...do
printf "Removing HostVG on $dev will erase the drive and cannot be undone\n"
@@ -402,6 +418,8 @@ do_configure()
if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
partlist="boot" # swap root config logging data"
local space_left=$BOOTDRIVESPACE
+ elif [ "$OVIRT_ROOT_INSTALL" == "n" ]; then
+ partlist="swap config logging data"
else
partlist="swap root config logging data"
fi
@@ -459,7 +477,7 @@ set /files$OVIRT_DEFAULTS/OVIRT_VOL_LOGGING_SIZE $LOGGING_SIZ...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...\n\nPlease select the disk to use for the HostVG.\n\n"
HOSTVGDRIVE=$(get_dev_name) || return 0
@@ -402,6 +418,8 @@ do_configure()
if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
partlist="boot" # swap root config logging data"
local space_left=$BOOTDRIVESPACE
+ elif [ "$OVIRT_ROOT_INSTALL" == "n" ]; then
+ partlist="swap config logging data"
else
partlist="swap root config logging data"
fi
@@ -635,37 +653,32 @@ perform_partitioning()
return
fi
- log &...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...on should use up the remaining space on the disk.\n\n"
do_review
- read -ep "Use these default values? (Y/n) "
-
- case $REPLY in
- Y|y) return;;
- esac
+ if ask_yes_or_no "Use these default values (y/n)?"; then
+ return
+ fi
local space_left=$SPACE
for part in boot swap root config logging data ; do
@@ -474,19 +472,15 @@ do_confirm()
"$wb$sp$w" \
"$w8" \
"$w8"
- printf "\n\tContinue? (Y/n) "
- read -e
- case $REPLY in
- Y|y)
-...
2010 Feb 11
3
[PATCH node] remove ipv4 validation for ntp and rely on actual ntp verification
---
scripts/ovirt-config-networking | 13 ++++++-------
scripts/ovirt-functions | 16 ++++++++++++++++
2 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking
index ec154c2..40a2d2c 100755
--- a/scripts/ovirt-config-networking
+++ b/scripts/ovirt-config-networking
@@ -414,12 +414,7 @@ function configure_ntp
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...ZE + $min_data_size" | bc -l)
if [ $need_size -gt $disk_size ]; then
local gap_size=$(echo "scale=0; $need_size-$disk_size;" | bc -l)
@@ -186,7 +188,7 @@ do_configure()
printf " partition should use up the remaining space on the disk.\n\n"
local space_left=$SPACE
- for part in boot swap root config logging data ; do
+ for part in boot swap root config logging coredump data ; do
part_regexp="^0$"
if [ "$part" = "data" ]; then
part_regexp="^\-1|0$"
@@ -234,6 +236,7 @@ set /fil...
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
...ff' fills up, flush it to file descriptor OUT_DES. */
-void disk_buffered_write(char *in_buf, int out_des, long num_bytes)
+static void disk_buffered_write(char *in_buf, int out_des, long num_bytes)
{
register long bytes_left = num_bytes; /* Bytes needing to be copied. */
register long space_left; /* Room left in output buffer. */
@@ -235,7 +222,7 @@ void disk_buffered_write(char *in_buf, int out_des, long num_bytes)
OUT_DES is the file descriptor for output;
NUM_BYTES is the number of bytes to copy. */
-void copy_files_tape_to_disk(int in_des, int out_des, long num_bytes)
+stat...
2009 Dec 08
1
[PATCH node] iscsi remote root basework This lays most of the groundwork for iscsi installation and configuration. At this time configuring iscsi is disabled due to multiple issues with dependent pieces.
...v_name) || return 0
+ get_drive_size $BOOTDRIVE BOOTDRIVESPACE
+ fi
printf "\n\nPlease select the disk to use for the Root.\n\n"
ROOTDRIVE=$(get_dev_name) || return 0
get_drive_size $ROOTDRIVE ROOTDRIVESPACE
@@ -230,7 +235,12 @@ do_configure()
fi
local space_left=$HOSTVGDRIVESPACE
- for part in swap root config logging data ; do
+ if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then
+ partlist="boot swap root config logging data"
+ else
+ partlist="swap root config logging data"
+ fi
+ for part in $...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...SIZE + $SWAP_SIZE + $ROOT_SIZE * 2" \
+ "$SWAP_SIZE + $ROOT_SIZE * 2" \
"+ $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
if [ $need_size -gt $disk_size ]; then
@@ -213,7 +211,7 @@ do_configure()
fi
local space_left=$SPACE
- for part in boot swap root config logging data ; do
+ for part in swap root config logging data ; do
part_regexp="^0$"
if [ "$part" = "data" ]; then
part_regexp="^\-1|0$"
@@ -259,7 +257,6 @@ do_configure()
#...
2010 Aug 04
6
[PATCH -v2 0/3] jbd2 scalability patches
This version fixes three bugs in the 2nd patch of this series that
caused kernel BUG when the system was under race. We weren't accounting
with t_oustanding_credits correctly, and there were race conditions
caused by the fact the I had overlooked the fact that
__jbd2_log_wait_for_space() and jbd2_get_transaction() requires
j_state_lock to be write locked.
Theodore Ts'o (3):
jbd2: Use
2010 Feb 24
5
New Storage related patches
This set of patches introduces support for multipath devices for
storage. Comments and suggestions are appreciated.
Mike
2005 Sep 09
7
[PATCH 0/6] jbd cleanup
The following 6 patches cleanup the jbd code and kill about 200 lines.
First of 4 patches can apply to 2.6.13-git8 and 2.6.13-mm2.
The rest of them can apply to 2.6.13-mm2.
fs/jbd/checkpoint.c | 179 +++++++++++--------------------------------
fs/jbd/commit.c | 101 ++++++++++--------------
fs/jbd/journal.c | 11 +-
fs/jbd/revoke.c | 158