linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the md tree
@ 2011-10-11  5:29 Stephen Rothwell
  2011-10-11  5:42 ` NeilBrown
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2011-10-11  5:29 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 5087 bytes --]

Hi Neil,

After merging the md tree, today's linux-next build (x86_64_allmodconfig)
failed like this:

drivers/md/dm-raid.c:597:25: error: unknown type name 'mdk_rdev_t'
drivers/md/dm-raid.c:614:24: error: unknown type name 'mddev_t'
drivers/md/dm-raid.c:614:40: error: unknown type name 'mdk_rdev_t'
drivers/md/dm-raid.c:654:23: error: unknown type name 'mdk_rdev_t'
drivers/md/dm-raid.c:654:41: error: unknown type name 'mdk_rdev_t'
drivers/md/dm-raid.c:692:34: error: unknown type name 'mddev_t'
drivers/md/dm-raid.c:692:50: error: unknown type name 'mdk_rdev_t'
drivers/md/dm-raid.c:812:27: error: unknown type name 'mddev_t'
drivers/md/dm-raid.c:812:43: error: unknown type name 'mdk_rdev_t'
drivers/md/dm-raid.c: In function 'analyse_superblocks':
drivers/md/dm-raid.c:852:2: error: unknown type name 'mdk_rdev_t'
drivers/md/dm-raid.c:853:2: error: unknown type name 'mddev_t'
drivers/md/dm-raid.c:853:19: warning: initialization from incompatible pointer type [enabled by default]
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'disks' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:856:2: warning: left-hand operand of comma expression has no effect [-Wunused-value]
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'disks' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:856:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:857:12: error: request for member 'meta_bdev' in something not a structure or union
drivers/md/dm-raid.c:860:3: error: implicit declaration of function 'super_load' [-Werror=implicit-function-declaration]
drivers/md/dm-raid.c:882:2: error: implicit declaration of function 'super_validate' [-Werror=implicit-function-declaration]
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'disks' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:885:2: warning: left-hand operand of comma expression has no effect [-Wunused-value]
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'disks' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c:885:2: error: request for member 'same_set' in something not a structure or union
drivers/md/dm-raid.c: In function 'raid_ctr':
drivers/md/dm-raid.c:965:22: error: 'super_sync' undeclared (first use in this function)
drivers/md/dm-raid.c:965:22: note: each undeclared identifier is reported only once for each function it appears in
drivers/md/dm-raid.c: In function 'raid_status':
drivers/md/dm-raid.c:1100:4: error: unknown type name 'raid5_conf_t'
drivers/md/dm-raid.c:1103:4: error: request for member 'max_nr_stripes' in something not a structure or union
drivers/md/dm-raid.c: In function 'raid_io_hints':
drivers/md/dm-raid.c:1149:2: error: unknown type name 'raid5_conf_t'
drivers/md/dm-raid.c:1152:46: error: request for member 'raid_disks' in something not a structure or union
drivers/md/dm-raid.c:1152:65: error: request for member 'max_degraded' in something not a structure or union

Caused by commits 4251a3bcf0e1 ("md: removing typedefs:  mdk_rdev_t ->
struct md_rdev") and 724d5bc7708a ("md: remove typedefs: mddev_t ->
struct mddev").

Have you dropped better versions of these commits?  Please build test.

I have used the version of the tree from next-20111006 since
next-20111007 had another build problem.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the md tree
@ 2017-06-22  1:44 Stephen Rothwell
  2017-07-03  1:52 ` Stephen Rothwell
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2017-06-22  1:44 UTC (permalink / raw)
  To: Shaohua Li; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List, NeilBrown

Hi Shaohua,

After merging the md tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/md/md.c: In function 'md_run':
drivers/md/md.c:5449:21: error: too few arguments to function 'bioset_create'
   mddev->sync_set = bioset_create(BIO_POOL_SIZE, 0);
                     ^
In file included from include/linux/blkdev.h:20:0,
                 from drivers/md/md.c:49:
include/linux/bio.h:375:24: note: declared here
 extern struct bio_set *bioset_create(unsigned int, unsigned int, int flags);
                        ^

Caused by commit

  5a85071c2cbc ("md: use a separate bio_set for synchronous IO.")

interacting with commit

  011067b05668 ("blk: replace bioset_create_nobvec() with a flags arg to bioset_create()")

from the block tree.

I applied the following merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 22 Jun 2017 11:42:02 +1000
Subject: [PATCH] md: fix up for "blk: replace bioset_create_nobvec() with a
 flags arg to bioset_create()"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/md/md.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/md.c b/drivers/md/md.c
index c5d9cac4760c..ffccee45af8c 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -5446,7 +5446,7 @@ int md_run(struct mddev *mddev)
 			return -ENOMEM;
 	}
 	if (mddev->sync_set == NULL) {
-		mddev->sync_set = bioset_create(BIO_POOL_SIZE, 0);
+		mddev->sync_set = bioset_create(BIO_POOL_SIZE, 0, BIOSET_NEED_BVECS);
 		if (!mddev->sync_set)
 			return -ENOMEM;
 	}
-- 
2.11.0

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the md tree
@ 2017-06-14  1:58 Stephen Rothwell
  0 siblings, 0 replies; 24+ messages in thread
From: Stephen Rothwell @ 2017-06-14  1:58 UTC (permalink / raw)
  To: Shaohua Li, Jens Axboe
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Christoph Hellwig

Hi Shaohua,

After merging the md tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/md/raid1.c: In function 'raid1_write_request':
drivers/md/raid1.c:1359:7: error: 'struct bio' has no member named 'bi_error'
    bio->bi_error = -ETIMEDOUT;
       ^
drivers/md/raid5.c: In function 'raid5_make_request':
drivers/md/raid5.c:5712:8: error: 'struct bio' has no member named 'bi_error'
      bi->bi_error = -ETIMEDOUT;
        ^

Caused by commit

  261eb8c4c5a8 ("md: make suspend range wait timed out")

interacting with commit

  4e4cbee93d56 ("block: switch bios to blk_status_t")

from the block tree.

I applied the following merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 14 Jun 2017 11:54:37 +1000
Subject: [PATCH] md: fixup for "block: switch bios to blk_status_t"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/md/raid1.c | 2 +-
 drivers/md/raid5.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index e320138916cc..db2ad0eeef22 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -1356,7 +1356,7 @@ static void raid1_write_request(struct mddev *mddev, struct bio *bio,
 		if (remaining == 0) {
 			pr_err("md/raid1:%s: suspend range is locked\n",
 				mdname(mddev));
-			bio->bi_error = -ETIMEDOUT;
+			bio->bi_status = BLK_STS_TIMEOUT;
 			bio_endio(bio);
 			return;
 		}
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 2a6634b7357b..3b3005c87b4b 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -5709,7 +5709,7 @@ static bool raid5_make_request(struct mddev *mddev, struct bio * bi)
 				if (remaining == 0) {
 					pr_err("md/raid5:%s: suspend range is locked\n",
 						mdname(mddev));
-					bi->bi_error = -ETIMEDOUT;
+					bi->bi_status = BLK_STS_TIMEOUT;
 					break;
 				}
 				goto retry;


-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the md tree
@ 2015-03-02  5:50 Stephen Rothwell
  2015-03-02  6:03 ` NeilBrown
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2015-03-02  5:50 UTC (permalink / raw)
  To: Neil Brown, Goldwyn Rodrigues; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

Hi Neil,

After merging the md tree, today's linux-next build (i386 defconfig)
failed like this:

drivers/built-in.o: In function `bitmap_read_sb':
bitmap.c:(.text+0x29cd52): undefined reference to `__udivdi3'

Probably caused by commit b97e92574c0b ("Use separate bitmaps for each
nodes in the cluster") or commit f9209a323547 ("bitmap_create returns
bitmap pointer").

I reverted the md tree for today (because I am not sure how to fix
this and reverting less became messy).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the md tree
@ 2012-09-25  3:31 Stephen Rothwell
  2012-09-25  4:10 ` NeilBrown
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2012-09-25  3:31 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

Hi Neil,

After merging the md tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ERROR: "__tracepoint_block_unplug" [drivers/md/raid456.ko] undefined!

Presumably caused by commit 14817e9a6dab ("md/raid5: add blktrace calls").

CONFIG_MD_RAID456=m

I have used the md tree from next-20120924 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the md tree
@ 2012-04-19  2:55 Stephen Rothwell
  2012-04-19  3:15 ` NeilBrown
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2012-04-19  2:55 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

Hi Neil,

After merging the md tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ERROR: ".bitmap_resize" [drivers/md/raid456.ko] undefined!
ERROR: ".bitmap_resize" [drivers/md/raid10.ko] undefined!

Caused by commit 89efe2ab3a8c ("md/bitmap: add bitmap_resize function to
allow bitmap resizing") and followups.

I have used the md tree form next-20120418 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the md tree
@ 2012-04-11  3:42 Stephen Rothwell
  2012-04-11  3:54 ` H. Peter Anvin
  2012-04-11  4:48 ` NeilBrown
  0 siblings, 2 replies; 24+ messages in thread
From: Stephen Rothwell @ 2012-04-11  3:42 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-next, linux-kernel, Jim Kukunas, H. Peter Anvin

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

Hi Neil,

After merging the md tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

lib/raid6/recov.c: In function 'raid6_has_ssse3':
lib/raid6/recov.c:27:2: error: implicit declaration of function 'boot_cpu_has' [-Werror=implicit-function-declaration]
lib/raid6/recov.c:27:22: error: 'X86_FEATURE_XMM' undeclared (first use in this function)
lib/raid6/recov.c:27:22: note: each undeclared identifier is reported only once for each function it appears in
lib/raid6/recov.c:28:16: error: 'X86_FEATURE_XMM2' undeclared (first use in this function)
lib/raid6/recov.c:29:16: error: 'X86_FEATURE_SSSE3' undeclared (first use in this function)
lib/raid6/recov.c: At top level:
lib/raid6/recov.c:25:12: warning: 'raid6_has_ssse3' defined but not used [-Wunused-function]

Caused by commit 56d3ac7ef905 ("lib/raid6: Add SSSE3 optimized recovery
functions").  All the world is not X86 :-)

I have used the md tree from next-20120410 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the md tree
@ 2012-03-28  3:32 Stephen Rothwell
  2012-03-28  4:07 ` NeilBrown
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2012-03-28  3:32 UTC (permalink / raw)
  Cc: linux-next, linux-kernel, NeilBrown

[-- Attachment #1: Type: text/plain, Size: 483 bytes --]

Hi Neil,

After merging the md tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/md/raid5.c: In function 'analyse_stripe':
drivers/md/raid5.c:3209:33: error: 'struct stripe_head' has no member named 'devs'

Caused by commit 85e25cfc6bed ("md/raid5: fix handling of bad blocks
during recovery").

I have used the version of the md tree from next-20120327 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the md tree
@ 2011-10-07  3:07 Stephen Rothwell
  2011-10-07  3:34 ` NeilBrown
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2011-10-07  3:07 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

Hi Neil,

After merging the md tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from drivers/md/raid1.c:40:0:
drivers/md/raid1.h:71:2: error: expected ':', ',', ';', '}' or '__attribute__' before 'int'

and went downhill from there ...

Caused by commit 9d64362373aa ("md/raid1:  add documentation to
r1_private_data_s data structure").  Please build test ...

I have used the md tree from next-20111006 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2017-07-03  1:52 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-11  5:29 linux-next: build failure after merge of the md tree Stephen Rothwell
2011-10-11  5:42 ` NeilBrown
  -- strict thread matches above, loose matches on Subject: below --
2017-06-22  1:44 Stephen Rothwell
2017-07-03  1:52 ` Stephen Rothwell
2017-06-14  1:58 Stephen Rothwell
2015-03-02  5:50 Stephen Rothwell
2015-03-02  6:03 ` NeilBrown
2015-03-02  6:11   ` Stephen Rothwell
2015-03-03  2:35     ` Stephen Rothwell
2015-03-04  2:44       ` NeilBrown
2015-03-04  2:48         ` Stephen Rothwell
2015-03-13  8:55       ` Guoqing Jiang
2012-09-25  3:31 Stephen Rothwell
2012-09-25  4:10 ` NeilBrown
2012-09-25  4:50   ` Stephen Rothwell
2012-04-19  2:55 Stephen Rothwell
2012-04-19  3:15 ` NeilBrown
2012-04-11  3:42 Stephen Rothwell
2012-04-11  3:54 ` H. Peter Anvin
2012-04-11  4:48 ` NeilBrown
2012-03-28  3:32 Stephen Rothwell
2012-03-28  4:07 ` NeilBrown
2011-10-07  3:07 Stephen Rothwell
2011-10-07  3:34 ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).