From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Mon, 17 Feb 2014 10:12:40 -0500 (EST) Subject: [Cluster-devel] [PATCH 1/4] libgfs2: Superblock building and writing improvements In-Reply-To: <1392648480-5085-1-git-send-email-anprice@redhat.com> References: <1392648480-5085-1-git-send-email-anprice@redhat.com> Message-ID: <1743331882.643920.1392649960679.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | build_sb was creating the sb, setting its fields from an sdp and then | writing it, and also zeroing the gap before the sb on the device in a | block-by-block way using buffer_heads. | | This patch splits the build_sb function into lgfs2_sb_init and | lgfs2_sb_write which operate on gfs2_sb structures instead of gfs2_sbds. | lgfs2_sb_write now uses pwritev to zero the initial blocks and write the | sb to an fd. | | get_random_bytes has been moved into structures.c and made static as | only lgfs2_sb_init now uses it. | | Signed-off-by: Andrew Price | --- Hi, All four patches look good to me. ACK. Bob Peterson Red Hat File Systems