Displaying 4 results from an estimated 4 matches for "root_end".
Did you mean:
root1_end
2009 Jun 02
1
[PATCH] ocfs2: Adjust rightmost path in ocfs2_add_branch.
...s the extent block
* to start at, if we don't want to start the branch at the dinode
@@ -1038,7 +1109,7 @@ static int ocfs2_add_branch(struct ocfs2_super *osb,
struct ocfs2_extent_block *eb;
struct ocfs2_extent_list *eb_el;
struct ocfs2_extent_list *el;
- u32 new_cpos;
+ u32 new_cpos, root_end;
mlog_entry_void();
@@ -1055,6 +1126,28 @@ static int ocfs2_add_branch(struct ocfs2_super *osb,
new_blocks = le16_to_cpu(el->l_tree_depth);
+ eb = (struct ocfs2_extent_block *)(*last_eb_bh)->b_data;
+ new_cpos = ocfs2_sum_rightmost_rec(&eb->h_list);
+ root_end = ocfs2_sum_r...
2009 Jun 12
2
[PATCH 0/2] ocfs2: Adjust rightmost path in ocfs2_add_branch.v2
Hi Mark/Joel,
This is the v2 of bug fix for ocfs2_add_branch.
Modification from V1 to V2:
1. Create a patch which return EROFS instead of BUG in ocfs2_insert_at_leaf.
2. Use ocfs2_adjust_rightmost_records to change the root and extent
blocks in the rightmost path.
Regards,
Tao
2017 Feb 15
1
Kickstart - part ignore onpart ??
I'm ill, i'm german ...
the script is looks ok, copy from a slim installation of anaconda.
Insert only the "pre part"
and
part /boot --onpart=/dev/sda1
part / --onpart=/dev/sda2
part swap --onpart=/dev/sda3
As i wrote: Jump over to another console and the partitions are there.
Sincerely
Andy
Am Mittwoch, den 15.02.2017, 11:16 -0800 schrieb John R
2017 Feb 15
2
Kickstart - part ignore onpart ??
...^minimal
@core
chrony
kexec-tools
%end
%pre
# clear the MBR and partition table
dd if=/dev/zero of=/dev/sda bs=512 count=1
parted -s /dev/sda mklabel msdos
TOTAL=`parted -s /dev/sda unit mb print free | grep Free | awk '{print
$3}' | cut -d "M" -f1`
let SWAP_START=$TOTAL-820
let ROOT_END=$TOTAL-128-820
parted -s /dev/sda mkpart primary ext2 0 128
parted -s /dev/sda mkpart primary ext2 128 $ROOT_END
parted -s /dev/sda mkpart primary linux-swap $SWAP_START $TOTAL
mkfs.ext2 /dev/sda1
mkfs.ext2 /dev/sda2
mkswap /dev/sda3
%end
%addon com_redhat_kdump --enable --reserve-mb='auto...