[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#752881: update on re-bisect - with clean builds.



Rebuilding the kernels completely cleanly each time has narrowed it
down to a list of changes that sound more plausible.

Still working on building and testing...

Andrew

commit e8b177cedc39b092e423b8cbc687dbf096a1de47
Merge: dfaa2ef d27769e
Author: Jens Axboe <jaxboe@fusionio.com>
Date:   Tue Aug 23 20:01:11 2011 +0200

    Merge branch 'for-3.2/core' into for-3.2/drivers

commit d27769ec3df1a8de9ca450d2dcd72d1ab259ba32
Author: Tejun Heo <tj@kernel.org>
Date:   Tue Aug 23 20:01:04 2011 +0200

    block: add GENHD_FL_NO_PART_SCAN

    There are cases where suppressing partition scan is useful - e.g. for
    lo devices and pseudo SATA devices which advertise to be a disk but
    get upset on partition scan (some port multiplier control devices show
    such behavior).

    This patch adds GENHD_FL_NO_PART_SCAN which suppresses partition scan
    regardless of the number of possible partitions.  disk_partitionable()
    is renamed to disk_part_scan_enabled() as suppressing partition scan
    doesn't imply the device can't be partitioned using
    BLKPG_ADD/DEL_PARTITION calls from userland.  show_partition() now
    directly tests disk_max_parts() to maintain backward-compatibility.

    -v2: Updated to make it clear that only partition scan is suppressed
         not partitioning itself as suggested by Kay Sievers.

    Signed-off-by: Tejun Heo <tj@kernel.org>
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

commit dfaa2ef68e80c378e610e3c8c536f1c239e8d3ef
Author: Lukas Czerner <lczerner@redhat.com>
Date:   Fri Aug 19 14:50:46 2011 +0200

    loop: add discard support for loop devices

    This commit adds discard support for loop devices. Discard is usually
    supported by SSD and thinly provisioned devices as a method for
    reclaiming unused space. This is no different than trying to reclaim
    back space which is not used by the file system on the image, but it
    still occupies space on the host file system.

    We can do the reclamation on file system which does support hole
    punching. So when discard request gets to the loop driver we can
    translate that to punch a hole to the underlying file, hence reclaim
    the free space.

    This is very useful for trimming down the size of the image to only what
    is really used by the file system on that image. Fstrim may be used for
    that purpose.

    It has been tested on ext4, xfs and btrfs with the image file systems
    ext4, ext3, xfs and btrfs. ext4, or ext6 image on ext4 file system has
    some problems but it seems that ext4 punch hole implementation is
    somewhat flawed and it is unrelated to this commit.

    Also this is a very good method of validating file systems punch hole
    implementation.

    Note that when encryption is used, discard support is disabled, because
    using it might leak some information useful for possible attacker.

    Signed-off-by: Lukas Czerner <lczerner@redhat.com>
    Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
    Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

commit 548ef6cc26ca1c81f19855d57d3fb0f9a7ce3385
Author: Andrew Morton <akpm@linux-foundation.org>
Date:   Fri Aug 19 14:48:28 2011 +0200

    nbd-replace-some-printk-with-dev_warn-and-dev_info-checkpatch-fixes

    ERROR: code indent should use tabs where possible
    #30: FILE: drivers/block/nbd.c:578:
    +^I        dev_info(disk_to_dev(lo->disk), "NBD_DISCONNECT\n");$

    total: 1 errors, 0 warnings, 35 lines checked

    NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or
          scripts/cleanfile

    ./patches/nbd-replace-some-printk-with-dev_warn-and-dev_info.patch
has style problems, please review.

    If any of these errors are false positives, please report
    them to the maintainer, see CHECKPATCH in MAINTAINERS.

    Please run checkpatch prior to sending patches

    Cc: Paul Clements <Paul.Clements@steeleye.com>
    Cc: WANG Cong <amwang@redhat.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Jens Axboe <jaxboe@fusionio.com>


Reply to: