Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\buffer_head.h Create Date:2022-07-28 12:16:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_buffer_async_read

Proto:static inline __attribute__((__always_inline__)) void set_buffer_async_read(struct buffer_head *bh)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
128  If Not If __builtin_constant_p( Is under end_buffer_async_read I/O ) Then constant_test_bit(( Is under end_buffer_async_read I/O ), ( & buffer state bitmap (see above) )) Else variable_test_bit(( Is under end_buffer_async_read I/O ), ( & buffer state bitmap (see above) )) Then Atomically set a bit in memory
Caller
NameDescribe
mark_buffer_async_readIf a page's buffers are under async readin (end_buffer_async_read* completion) then there is a possibility that another thread of* control could lock one of the buffers after it has completed* but while some of the other buffers have not completed