[LU-14072] client evicitions with DIO Created: 24/Oct/20  Updated: 17/Feb/21  Resolved: 27/Nov/20

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

Type: Bug Priority: Minor
Reporter: Wang Shilong (Inactive) Assignee: Wang Shilong (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by LU-14066 dd oflag=direct writes hang when size... Resolved
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This is very easily reproduced by Lustre:

dd if=/dev/zero of=data bs=1234 count=1
touch data1
dd if=/dev/data of=data1 bs=1M oflag=direct

[<ffffffffc0d421ed>] osc_extent_wait+0x21d/0x7c0 [osc]
    [<ffffffffc0d44897>] osc_cache_wait_range+0x2e7/0x940 [osc]
    [<ffffffffc0d4585e>] osc_cache_writeback_range+0x96e/0xff0 [osc]
    [<ffffffffc0d31c45>] osc_lock_flush+0x195/0x290 [osc]
    [<ffffffffc0d31d7c>] osc_lock_lockless_cancel+0x3c/0xe0 [osc]
    [<ffffffffc081f488>] cl_lock_cancel+0x78/0x160 [obdclass]
    [<ffffffffc0cd8079>] lov_lock_cancel+0x99/0x190 [lov]
    [<ffffffffc081f488>] cl_lock_cancel+0x78/0x160 [obdclass]
    [<ffffffffc081f9a2>] cl_lock_release+0x52/0x140 [obdclass]
    [<ffffffffc08238a9>] cl_io_unlock+0x139/0x290 [obdclass]
    [<ffffffffc08242e8>] cl_io_loop+0xb8/0x200 [obdclass]
    [<ffffffffc0e1d36b>] ll_file_io_generic+0x91b/0xdf0 [lustre]
    [<ffffffffc0e1dd0c>] ll_file_aio_write+0x29c/0x6e0 [lustre]
    [<ffffffffc0e1e250>] ll_file_write+0x100/0x1c0 [lustre]
    [<ffffffffa984aa90>] vfs_write+0xc0/0x1f0
    [<ffffffffa984b8af>] SyS_write+0x7f/0xf0
    [<ffffffffa9d8eede>] system_call_fastpath+0x25/0x2a
    [<ffffffffffffffff>] 0xffffffffffffffff


 Comments   
Comment by Gerrit Updater [ 24/Oct/20 ]

Wang Shilong (wshilong@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40389
Subject: LU-14072 llite: fix client evicition with DIO
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 548d2cfb4ae69a1c8a66290d0b705a997884ac3e

Comment by Gerrit Updater [ 26/Nov/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40389/
Subject: LU-14072 llite: fix client evicition with DIO
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f348437218d0b9f85f1444c219002325338a3277

Comment by Peter Jones [ 27/Nov/20 ]

Landed for 2.14

Generated at Sat Feb 10 03:06:36 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.