[PATCH v4 1/5] erofs-utils: introduce multi-threading framework
    Gao Xiang 
    hsiangkao at linux.alibaba.com
       
    Thu Feb 29 20:50:07 AEDT 2024
    
    
  
On 2024/2/29 17:43, Gao Xiang wrote:
> Hi Yifan,
> 
> On 2024/2/29 00:16, Yifan Zhao wrote:
>> Add a workqueue implementation for multi-threading support inspired by
>> xfsprogs.
>>
>> Signed-off-by: Yifan Zhao <zhaoyifan at sjtu.edu.cn>
>> Suggested-by: Gao Xiang <hsiangkao at linux.alibaba.com>
>> ---
..
>> index 54b9c9c..7307f7b 100644
>> --- a/lib/Makefile.am
>> +++ b/lib/Makefile.am
>> @@ -53,3 +53,7 @@ liberofs_la_SOURCES += kite_deflate.c compressor_deflate.c
>>   if ENABLE_LIBDEFLATE
>>   liberofs_la_SOURCES += compressor_libdeflate.c
>>   endif
>> +if ENABLE_EROFS_MT
>> +liberofs_la_CFLAGS += -lpthread
By the way, this line should be
liberofs_la_LDFLAGS = -lpthread
Otherwise, it can fail on the clang side.
Thanks,
Gao Xiang
    
    
More information about the Linux-erofs
mailing list