[ 4745.188760] Lustre: DEBUG MARKER: == sanity-quota test 58: project ID should be kept for new mirrors created by FID ========================================================== 23:17:31 (1746314251)
[ 4770.124961] LustreError: 208496:0:(file.c:247:ll_close_inode_openhandle()) lustre-clilmv-ffff9e1973355000: inode [0x200000402:0xac:0x0] mdc close failed: rc = -22
[ 4805.518750] LustreError: 207592:0:(tgt_grant.c:747:tgt_grant_check()) lustre-OST0001: cli 86e86cb6-1593-4c0f-9b46-63889d50caa5 claims 1703936 GRANT, real grant 0
[ 4805.571439] LustreError: 207592:0:(tgt_grant.c:560:tgt_grant_incoming()) lustre-OST0001: cli 86e86cb6-1593-4c0f-9b46-63889d50caa5/ffff9e1965267800 dirty 10223616 pend 0 grant -3407872
[ 4805.571632] LustreError: 207592:0:(tgt_grant.c:562:tgt_grant_incoming()) LBUG
[ 4805.571689] CPU: 1 PID: 207592 Comm: ll_ost_io00_006 Tainted: G O --------- - - 4.18.0 #12
[ 4805.571746] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-3.fc41 04/01/2014
[ 4805.571805] Call Trace:
[ 4805.571851] dump_stack+0x6e/0xa0
[ 4805.571888] lbug_with_loc.cold.4+0x5/0x4e [libcfs]
[ 4805.571932] tgt_grant_incoming.isra.1+0x575/0x580 [ptlrpc]
[ 4805.572065] tgt_grant_prepare_write+0x397/0xf30 [ptlrpc]
[ 4805.572194] ofd_preprw+0xa47/0x27f0 [ofd]
[ 4805.572278] tgt_brw_write+0xda5/0x2720 [ptlrpc]
[ 4805.572400] ? tgt_request_preprocess.isra.1+0xdd/0x1440 [ptlrpc]
[ 4805.572531] tgt_request_handle+0x36c/0x1af0 [ptlrpc]
[ 4805.572648] ptlrpc_main+0x109b/0x3570 [ptlrpc]
[ 4805.572765] ? trace_hardirqs_on+0x1c/0xe0
[ 4805.572795] ? _raw_spin_unlock_irqrestore+0x43/0x70
[ 4805.572829] ? ptlrpc_wait_event+0x530/0x530 [ptlrpc]
[ 4805.572944] kthread+0x16e/0x1a0
[ 4805.572977] ? set_kthread_struct+0x40/0x40
[ 4805.573008] ret_from_fork+0x24/0x30
[ 4805.573042] Kernel panic - not syncing: LBUG
vsaveliev shouldn't tgt_grant_dealloc() reset oa->o_grant ?