[LU-2722] LustreError: 30217:0:(rw26.c:485:ll_direct_IO_26()) ASSERTION( obj->cob_transient_pages == 0 ) failed: Created: 31/Jan/13  Updated: 05/Feb/13  Resolved: 05/Feb/13

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

Type: Bug Priority: Minor
Reporter: Vitaly Fertman Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Duplicate
is duplicated by LU-2581 ll_direct_IO_26()) ASSERTION( obj->co... Resolved
Severity: 3
Rank (Obsolete): 6616

 Description   

LustreError: 30217:0:(rw26.c:485:ll_direct_IO_26()) ASSERTION( obj->cob_transient_pages == 0 ) failed:
LustreError: 30217:0:(rw26.c:485:ll_direct_IO_26()) LBUG
Pid: 30217, comm: diotest6
Call Trace:
[<ffffffff81007699>] try_stack_unwind+0x1a9/0x200
[<ffffffff81005ea5>] dump_trace+0x95/0x300
[<ffffffffa02c28d7>] libcfs_debug_dumpstack+0x57/0x80 [libcfs]
[<ffffffffa02c2e27>] lbug_with_loc+0x47/0xb0 [libcfs]
[<ffffffffa0a94a22>] ll_direct_IO_26+0x1332/0x1480 [lustre]
[<ffffffff810c273e>] generic_file_aio_read+0x61e/0x640
[<ffffffffa0aa7ad5>] vvp_io_read_start+0x1f5/0x3d0 [lustre]
[<ffffffffa05c89fa>] cl_io_start+0x6a/0x130 [obdclass]
[<ffffffffa05ccc5c>] cl_io_loop+0xac/0x1a0 [obdclass]
[<ffffffffa0a53c03>] ll_file_io_generic+0x353/0x530 [lustre]
[<ffffffffa0a542a8>] ll_file_aio_read+0x238/0x290 [lustre]
[<ffffffff81105253>] do_sync_readv_writev+0xf3/0x140
[<ffffffff81106134>] do_readv_writev+0xd4/0x1f0
[<ffffffff8110647b>] vfs_readv+0x3b/0x60
[<ffffffff811065c5>] sys_readv+0x55/0xc0
[<ffffffff810028db>] system_call_fastpath+0x16/0x1b
[<00007f17d04921ab>] 0x7f17d04921ab
Kernel panic - not syncing: LBUG



 Comments   
Comment by Vitaly Fertman [ 31/Jan/13 ]

The problem turned out to be in the directio code, which puts pages to transfer in osc_io_submit, waits for its completion. Upon completion, osc_completion() is called, which notifies waiters IO is completed and put the page after that. directIO is woken up and it may succeed to assert on the last not yet put page.

Comment by Vitaly Fertman [ 31/Jan/13 ]

http://review.whamcloud.com/5223

Comment by Peter Jones [ 05/Feb/13 ]

Landed for 2.4

Generated at Sat Feb 10 01:27:38 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.