From owner-svn-src-user@FreeBSD.ORG Fri Nov 21 18:35:51 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8416ABFE; Fri, 21 Nov 2014 18:35:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 71D45908; Fri, 21 Nov 2014 18:35:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sALIZpXE012780; Fri, 21 Nov 2014 18:35:51 GMT (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sALIZp3B012778; Fri, 21 Nov 2014 18:35:51 GMT (envelope-from marcel@FreeBSD.org) Message-Id: <201411211835.sALIZp3B012778@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marcel set sender to marcel@FreeBSD.org using -f From: Marcel Moolenaar Date: Fri, 21 Nov 2014 18:35:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r274808 - user/marcel/libvdsk/libvdsk X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 18:35:51 -0000 Author: marcel Date: Fri Nov 21 18:35:50 2014 New Revision: 274808 URL: https://svnweb.freebsd.org/changeset/base/274808 Log: Make sure struct vdsk is a multiple of 16 bytes so that the user data is always sufficiently aligned. Modified: user/marcel/libvdsk/libvdsk/vdsk_int.h Modified: user/marcel/libvdsk/libvdsk/vdsk_int.h ============================================================================== --- user/marcel/libvdsk/libvdsk/vdsk_int.h Fri Nov 21 18:35:48 2014 (r274807) +++ user/marcel/libvdsk/libvdsk/vdsk_int.h Fri Nov 21 18:35:50 2014 (r274808) @@ -33,6 +33,6 @@ struct vdsk { int fd; int sectorsize; off_t capacity; -}; +} __attribute__((align(16))); #endif /* __VDSK_INT_H__ */