From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964827AbaH0P3d (ORCPT ); Wed, 27 Aug 2014 11:29:33 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:64263 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935250AbaH0PWZ (ORCPT ); Wed, 27 Aug 2014 11:22:25 -0400 Message-ID: <53FDF7AD.5000709@plexistor.com> Date: Wed, 27 Aug 2014 18:22:21 +0300 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: Jens Axboe , Matthew Wilcox , Dmitry Monakhov CC: Ross Zwisler , linux-kernel , linux-fsdevel Subject: [PATCHSET 0/5 v2] brd: partition fixes Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jens Hi What do you intend to do with these fixes? These are real bugs on devices shipped for a while now. I think they need to go into current 3.17-rcX Kernel. If not then lets please put them in for-next [This set is for linux-block.git/for-next, tell me if you need one ontop of for-linus] [v2] Based on Jens's linux-next [30e996a] incorporating the brd patch by Dmitry Monakhov. Dmitry has introduced a new part_show parameter, this parameter is now removed and we always "part_show=1". Scripts that did part_show=1 will work just the same but will display a message in logs. This is harmless. (And scripts can be modified to remove this parameter) [v1] Current situation is that any attempt to use partitions with brd device would create the partition but then any use will trash the data. 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 4/5] for more explanations. list of patches: [PATCH 1/5] axonram: Fix bug in direct_access [PATCH 2/5] Change direct_access calling convention These are Matthew's patches 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 3/5] brd: Add getgeo to block ops This one is needed by fdisk, otherwise it just asks extra questions [PATCH 4/5] brd: Fix all partitions BUGs [PATCH 5/5] brd: Request from fdisk 4k alignment Thanks Boaz