From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boaz Harrosh Subject: [PATCHSET 0/4] brd: partition fixes Date: Wed, 06 Aug 2014 14:27:33 +0300 Message-ID: <53E21125.9080308@plexistor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: linux-fsdevel To: Jens Axboe , Ross Zwisler , Matthew Wilcox , linux-kernel Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi Jens for me this should go into current 3.17-rcX Kernel. Current situation is that any attempt to use partitions with brd device would create the partition but then any use will trash the data. (But after review from Ross Zwisler) See: http://www.spinics.net/lists/linux-scsi/msg76737.html So these patches fixes up all the problems we saw with the code, but not sacrificing any of the old fixtures. See [patch 3/4] for more explanations. Ross please review. list of patches: [PATCH 1/4] Change direct_access calling convention This is a Matthew's patch from the DAX series which fixes the interface to direct_access taking into account the partition offset. It must be applied here for partitions to work with direct_access() API. [PATCH 2/4] brd: Add getgeo to block ops Ross I put this patch on your name please confirm that you agree and that you allow the sign-off. Though your original patch was for prd, this here is the exact same one for brd. [PATCH 3/4] brd: Fix all partitions BUGs [PATCH 4/4] brd: Request from fdisk 4k alignment Thanks Boaz