We have done bisection, and found the first bad commit is "34b48db" as shown below.
With this bad commit, the filesystem returns I/O error while copying files to disk.
We use the same config file copy from ubuntu 14.10, and follow the build instruction[1].
Would you like to build an install-able ISO image with reverting this commit? And then we can verify if the installation issue can be solved.
Hi Bryan,
We have done bisection, and found the first bad commit is "34b48db" as shown below.
With this bad commit, the filesystem returns I/O error while copying files to disk.
We use the same config file copy from ubuntu 14.10, and follow the build instruction[1].
Would you like to build an install-able ISO image with reverting this commit? And then we can verify if the installation issue can be solved.
[1] https:/ /wiki.ubuntu. com/KernelTeam/ GitKernelBuild# Kernel_ Build_and_ Installation
commit 34b48db66e08ca1 c1bc07cf305d672 ac940268dc blk-settings. c b/block/ blk-settings. c blk-settings. c blk-settings. c max_hw_ sectors( struct queue_limits *limits, unsigned int max_hw_
__func_ _, max_hw_sectors); >max_hw_ sectors = max_hw_sectors; MAX_SECTORS) ; >max_hw_ sectors = max_hw_sectors; SYMBOL( blk_limits_ max_hw_ sectors) ; block/aoe/ aoeblk. c b/drivers/ block/aoe/ aoeblk. c block/aoe/ aoeblk. c block/aoe/ aoeblk. c
WARN_ON( d->flags & DEVFL_TKILL);
WARN_ON( d->gd);
WARN_ON( d->flags & DEVFL_UP); max_hw_ sectors( q, BLK_DEF_ MAX_SECTORS) ; max_hw_ sectors( q, 1024);
q->backing_ dev_info. name = "aoe";
q->backing_ dev_info. ra_pages = READ_AHEAD / PAGE_CACHE_SIZE; linux/blkdev. h b/include/ linux/blkdev. h linux/blkdev. h linux/blkdev. h command( unsigned char *cmd, fmode_t has_write_perm);
BLK_MAX_ SEGMENTS = 128,
BLK_SAFE_ MAX_SECTORS = 255,
BLK_MAX_ SEGMENT_ SIZE = 65536,
BLK_SEG_ BOUNDARY_ MASK = 0xFFFFFFFFUL,
Author: Christoph Hellwig <email address hidden>
Date: Sat Sep 6 16:08:05 2014 -0700
block: remove artifical max_hw_sectors cap
Set max_sectors to the value the drivers provides as hardware limit by
default. Linux had proper I/O throttling for a long time and doesn't
rely on a artifically small maximum I/O size anymore. By not limiting
the I/O size by default we remove an annoying tuning step required for
most Linux installation.
Note that both the user, and if absolutely required the driver can still
impose a limit for FS requests below max_hw_sectors_kb.
Signed-off-by: Christoph Hellwig <email address hidden>
Signed-off-by: Jens Axboe <email address hidden>
diff --git a/block/
index aa02247..6ed2cbe 100644
--- a/block/
+++ b/block/
@@ -257,9 +257,7 @@ void blk_limits_
}
- limits-
- limits->max_sectors = min_t(unsigned int, max_hw_sectors,
- BLK_DEF_
+ limits->max_sectors = limits-
}
EXPORT_
diff --git a/drivers/
index dd73e1f..46c282f 100644
--- a/drivers/
+++ b/drivers/
@@ -395,7 +395,7 @@ aoeblk_gdalloc(void *vp)
- blk_queue_
+ blk_queue_
d->bufpool = mp;
diff --git a/include/
index 0207a78..74d14db 100644
--- a/include/
+++ b/include/
@@ -1186,7 +1186,6 @@ extern int blk_verify_
enum blk_default_limits {
- BLK_DEF_MAX_SECTORS = 1024,
};