Skip to contentSkip to conversation

linux-next: build failure after merge of the block tree

PATCH In review Stephen Rothwell 3 participants 4 messages Jan 21, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Jens,

After merging the block tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/staging/lustre/lustre/llite/llite_lib.c: In function 'll_read_inode2':
drivers/staging/lustre/lustre/llite/llite_lib.c:1774:18: error: 'struct address_space' has no member named 'backing_dev_info'

  inode->i_mapping->backing_dev_info = &s2lsi(inode->i_sb)->lsi_bdi;
                  ^

Caused by commit b83ae6d42143 ("fs: remove mapping->backing_dev_info") not updating the lustre code in the staging tree.

I have disabled the lustre code for today using the following. Please let me know if you fix the lustre code so that I can reenable it.

From: Stephen Rothwell <[email protected]>
Date: Wed, 21 Jan 2015 14:36:21 +1100
Subject: [PATCH] disable the lustre code for now

---
 drivers/staging/lustre/lustre/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/lustre/lustre/Kconfig +1 -0
index 6725467ef4d0..37dd33f6597e 100644
@@ -1,6 +1,7 @@
 config LUSTRE_FS
 	tristate "Lustre file system client support"
 	depends on INET && m && !MIPS && !XTENSA && !SUPERH
+	depends on BROKEN
 	select LNET
 	select CRYPTO
 	select CRYPTO_CRC32
Signature · 5 lines
2.1.4

-- 
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw

PATCH 1/1 staging/lustre/llite: get rid of backing_dev_info

From: Oleg Drokin <[email protected]>

With removal of backing_dev_info from struct address_space, we don't need to assign it in Lustre either.

---
 drivers/staging/lustre/lustre/llite/llite_lib.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/staging/lustre/lustre/llite/llite_lib.c +0 -4
index d5b149c..45aaa1c 100644
@@ -1812,10 +1812,6 @@ void ll_read_inode2(struct inode *inode, void *opaque)
 
 	/* OIDEBUG(inode); */
 
-	/* initializing backing dev info. */
-	inode->i_mapping->backing_dev_info = &s2lsi(inode->i_sb)->lsi_bdi;
-
-
 	if (S_ISREG(inode->i_mode)) {
 		struct ll_sb_info *sbi = ll_i2sbi(inode);
 
Signature · 1 line
2.1.0
#2 lore raw

Re: [PATCH] staging/lustre/llite: get rid of backing_dev_info

Quoted 4 lines · On 01/21/2015 01:10 AM, [email protected] wrote:

From: Oleg Drokin <[email protected]>

With removal of backing_dev_info from struct address_space, we don't need to assign it in Lustre either.

Thanks Oleg, applied. Stephen, you should be able to drop the BROKEN lustre patch again.

Signature · 1 line
Jens Axboe
#3 lore raw

Re: [PATCH] staging/lustre/llite: get rid of backing_dev_info

Hi Jens,

Quoted 9 lines · On Wed, 21 Jan 2015 10:41:00 -0700 Jens Axboe <[email protected]> wrote:
Quoted 4 lines · On 01/21/2015 01:10 AM, [email protected] wrote:

From: Oleg Drokin <[email protected]>

With removal of backing_dev_info from struct address_space, we don't need to assign it in Lustre either.

Thanks Oleg, applied. Stephen, you should be able to drop the BROKEN lustre patch again.

Will do, thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]