[LU-9031] support for jinode Created: 18/Jan/17  Updated: 03/Feb/17  Resolved: 03/Feb/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.10.0

Type: Bug Priority: Minor
Reporter: Yang Sheng Assignee: Yang Sheng
Resolution: Fixed Votes: 0
Labels: None

Attachments: HTML File panic2    
Issue Links:
Blocker
is blocking LU-9029 kernel update [SLES12 SP2 4.4.38-93] Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Upstream brought jinode in ext4 code from 2.6.37. We need adopt this change in osd layer.



 Comments   
Comment by Gerrit Updater [ 18/Jan/17 ]

Yang Sheng (yang.sheng@intel.com) uploaded a new patch: https://review.whamcloud.com/24941
Subject: LU-9031 osd: handle jinode change for ldiskfs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 76aaad82db2cf87a5706e7ff6c6040baa144f55d

Comment by Bob Glossman (Inactive) [ 22/Jan/17 ]

seen on master:
https://testing.hpdd.intel.com/test_sets/61a41bbc-e04a-11e6-91bb-5254006e85c2

stack trace from MDS1 log:

17:24:44:[  291.461237] BUG: unable to handle kernel NULL pointer dereference at           (null)
17:24:44:[  291.461952] IP: [<ffffffffa0278a10>] jbd2_journal_file_inode+0x30/0xf0 [jbd2]
17:24:44:[  291.462583] PGD 7c378067 PUD 36fff067 PMD 0 
17:24:44:[  291.463001] Oops: 0000 [#1] SMP 
17:24:44:[  291.463311] Modules linked in: osd_ldiskfs(OEN) lquota(OEN) fid(OEN) fld(OEN) ksocklnd(OEN) ptlrpc(OEN) obdclass(OEN) lnet(OEN) sha512_ssse3(E) sha512_generic(E) libcfs(OEN) ldiskfs(OEN) rpcsec_gss_krb5(E) auth_rpcgss(E) nfsv4(E) dns_resolver(E) nfs(E) lockd(E) grace(E) sunrpc(E) fscache(E) af_packet(E) iscsi_boot_sysfs(E) ib_ipoib(E) rdma_ucm(E) ib_ucm(E) ib_uverbs(E) ib_umad(E) rdma_cm(E) configfs(E) ib_cm(E) iw_cm(E) ib_sa(E) ib_mad(E) ib_core(E) ib_addr(E) 8139too(E) crct10dif_pclmul(E) crc32_pclmul(E) crc32c_intel(E) 8139cp(E) jitterentropy_rng(E) drbg(E) ansi_cprng(E) aesni_intel(E) aes_x86_64(E) lrw(E) gf128mul(E) glue_helper(E) ablk_helper(E) acpi_cpufreq(E) processor(E) mii(E) i2c_piix4(E) cryptd(E) ppdev(E) parport_pc(E) parport(E) virtio_balloon(E) joydev(E) button(E) pcspkr(E) pvpanic(E) ext4(E) crc16(E) jbd2(E) mbcache(E) ata_generic(E) virtio_blk(E) floppy(E) ata_piix(E) ahci(E) libahci(E) libata(E) cirrus(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) fb_sys_fops(E) ttm(E) drm(E) uhci_hcd(E) ehci_hcd(E) usbcore(E) usb_common(E) serio_raw(E) virtio_pci(E) virtio_ring(E) virtio(E) sg(E) dm_multipath(E) dm_mod(E) scsi_dh_rdac(E) scsi_dh_emc(E) scsi_dh_alua(E) scsi_mod(E) autofs4(E)
17:24:44:[  291.465038] Supported: No, Unsupported modules are loaded
17:24:44:[  291.465038] CPU: 0 PID: 12687 Comm: mount.lustre Tainted: G           OE   N  4.4.38-93_lustre-default #1
17:24:44:[  291.465038] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2007
17:24:44:[  291.465038] task: ffff88003695cf80 ti: ffff880079bf8000 task.ti: ffff880079bf8000
17:24:44:[  291.465038] RIP: 0010:[<ffffffffa0278a10>]  [<ffffffffa0278a10>] jbd2_journal_file_inode+0x30/0xf0 [jbd2]
17:24:44:[  291.465038] RSP: 0018:ffff880079bfb718  EFLAGS: 00010246
17:24:44:[  291.465038] RAX: 0000000000000800 RBX: ffff880058d4de00 RCX: 8000040000000000
17:24:44:[  291.465038] RDX: 00000000a006c821 RSI: 0000000000000000 RDI: ffff880058cd11d8
17:24:44:[  291.465038] RBP: 0000000000000001 R08: 0000000000004000 R09: 0000000000000001
17:24:44:[  291.465038] R10: 000060ff8000c520 R11: 0000000000000000 R12: ffff88007bdc6000
17:24:44:[  291.465038] R13: ffff880058cd11d8 R14: 0000000000000000 R15: ffff880079bfb7c0
17:24:44:[  291.465038] FS:  00007fb92ee31800(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000
17:24:44:[  291.465038] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
17:24:44:[  291.465038] CR2: 0000000000000000 CR3: 000000007b035000 CR4: 00000000000406f0
17:24:44:[  291.465038] Stack:
17:24:44:[  291.465038]  ffff8800624f09d8 0000000000000001 0000000000000001 ffff880058cd11d8
17:24:44:[  291.465038]  ffff8800624f0988 ffffffffa06bdb7e ffff880079bfb788 ffff880000000000
17:24:44:[  291.465038]  ffff8800624f09d8 ffff880058cd11d8 ffff88007b422000 0000000000000000
17:24:44:[  291.465038] Call Trace:
17:24:44:[  291.465038]  [<ffffffffa06bdb7e>] ldiskfs_map_blocks+0x54e/0x5f0 [ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa06be267>] ldiskfs_getblk+0x47/0x190 [ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa06be3be>] ldiskfs_bread+0xe/0x80 [ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa06b158e>] ldiskfs_append+0x5e/0x100 [ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa0e44605>] iam_lfix_create+0x45/0x2e0 [osd_ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa0e3c6a5>] osd_oi_open+0x975/0x9b0 [osd_ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa0e3c7ba>] osd_oi_table_open+0xda/0x320 [osd_ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa0e3cef4>] osd_oi_init+0x4f4/0xa40 [osd_ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa0e589f7>] osd_scrub_setup+0x847/0x14f0 [osd_ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa0e3500c>] osd_device_alloc+0x5ac/0x850 [osd_ldiskfs]
17:24:44:[  291.465038]  [<ffffffffa0877612>] obd_setup+0xb2/0x240 [obdclass]
17:24:44:[  291.465038]  [<ffffffffa087a774>] class_setup+0x2f4/0x8a0 [obdclass]
17:24:44:[  291.465038]  [<ffffffffa087de5d>] class_process_config+0x1c8d/0x2e70 [obdclass]
17:24:44:[  291.465038]  [<ffffffffa088659b>] do_lcfg+0x13b/0x570 [obdclass]
17:24:44:[  291.465038]  [<ffffffffa08872b5>] lustre_start_simple+0x85/0x1f0 [obdclass]
17:24:44:[  291.465038]  [<ffffffffa08b00b3>] server_fill_super+0xea3/0x1795 [obdclass]
17:24:44:[  291.465038]  [<ffffffffa088a20f>] lustre_fill_super+0x30f/0x8f0 [obdclass]
17:24:44:[  291.465038]  [<ffffffff811fe236>] mount_nodev+0x46/0xa0
17:24:44:[  291.465038]  [<ffffffffa08821f5>] lustre_mount+0x25/0x30 [obdclass]
17:24:44:[  291.465038]  [<ffffffff811fecf4>] mount_fs+0x34/0x170
17:24:44:[  291.465038]  [<ffffffff81218bf2>] vfs_kern_mount+0x62/0x110
17:24:44:[  291.465038]  [<ffffffff8121b023>] do_mount+0x213/0xcd0
17:24:44:[  291.465038]  [<ffffffff8121bdc5>] SyS_mount+0x85/0xd0
17:24:44:[  291.465038]  [<ffffffff815e59ee>] entry_SYSCALL_64_fastpath+0x12/0x6d
17:24:44:[  291.465038] DWARF2 unwinder stuck at entry_SYSCALL_64_fastpath+0x12/0x6d
17:24:44:[  291.465038] 
17:24:44:[  291.465038] Leftover inexact backtrace:
17:24:44:[  291.465038] 
17:24:44:[  291.465038] Code: 41 56 41 55 41 54 55 53 f6 47 1c 08 48 8b 1f 0f 85 8d 00 00 00 48 85 db 0f 84 84 00 00 00 4c 8b 23 45 8b 34 24 41 83 e6 02 75 77 <48> 39 1e 48 89 f5 74 75 48 39 5e 08 74 6f 4d 8d ac 24 98 03 00 
17:24:44:[  291.465038] RIP  [<ffffffffa0278a10>] jbd2_journal_file_inode+0x30/0xf0 [jbd2]
17:24:44:[  291.465038]  RSP <ffff880079bfb718>
17:24:44:[  291.465038] CR2: 0000000000000000
Comment by Gerrit Updater [ 03/Feb/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24941/
Subject: LU-9031 osd: handle jinode change for ldiskfs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 66153d87190a3547099446d222f36114d3eeffad

Comment by Peter Jones [ 03/Feb/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:22:39 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.