From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=115.124.30.100 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796518303; b=nCuVZ7j+AwB8bgkP6HY2mUgV2Jzrhr2NHbKCVSy4fRVoF/woCg5CBdKBbS0mjp7R6N6c a4NmhB4fxrKXl8TOc7ylw703zRhU1nRalQ8c9U3XSHPuubOYMNF/nsUs9k0OhN2ZPptex dNTIN9goGah0n6WFbSb19MmfYk4HO3uwyedQdzwOuVIXm8mOPhgel/x1QKaVc5eUGdrch IM3gdJ+fhMBnos88GQkPxP0OA726U9YQLO1QJFaq+GKGDyOsHmW+8/LmXBxByofCrm7Zr s0wagCT7LaxlNCmJVHR1GxOe0d5OTKrHjljZRo/EL4OMbDclf4XuV/NL8V5yxY7Jj6Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796518303; h=DMARC-Filter:DKIM-Signature:X-Alimail-AntiSpam:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=JRSwiwp9PxWxP86ry/yaEHLI6WQA7fRAzzb3z4QbEGg=; b=Og/+5008mSuixZKaiepp8gfldgKgdlTyrgjAl4hsDf19F90W29aSX7H1npIrIYpM/UIx fFcG7X0sheYMPIi/UF61EInKqKkdZfO0CGRWe9hweBFu6dGjK15RtvEaYLGKAggk9s7dY zLSOOObWiw3sN3pAeV1wmxmTAJuVkU8sG0jLwBMx4bEfcNGsF5HBCv+ZYzGqaKsNw/3WB vDyBPj9oOIYbZXFFFnKpZJNp+4Fs9HwhId9ockKWLJi4Suob2BebkA9nbY24kaeJGOZL2 d5JnEe4LZ+bzNEqHOmvVTZTuC/jbu88WsjSMuj7OV2lCxHsrccL/3gdVLI6l3gsdOyQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=DmwqeRdb; arc=none smtp.remote-ip=115.124.30.100 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D7D3606A321 for ; Sun, 6 Dec 2026 00:51:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3D7D3606A321 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=DmwqeRdb DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1796518300; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=JRSwiwp9PxWxP86ry/yaEHLI6WQA7fRAzzb3z4QbEGg=; b=DmwqeRdbd/OVrGKuWt5lXxvU9RSa+FCBLmLF3nd/6wGbYOH9YtNAupP0Y4mAXJ8GatBZc9kjgVucD/PYZmXfiwIzKTHrZa11Hb5st212HEW81ojXBIdPjUorftSq0czLEonvWbIajjmz+bB0xUEsA8mx25I1e6pakj8Uo/ccxRE= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R231e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037033178;MF=joseph.qi@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0XGKVBzS_1796518298; Received: from 30.180.33.101(mailfrom:joseph.qi@linux.alibaba.com fp:SMTPD_---0XGKVBzS_1796518298 cluster:ay36) by smtp.aliyun-inc.com; Sun, 06 Dec 2026 08:51:39 +0800 Message-ID: Date: Sun, 6 Dec 2026 08:51:37 +0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v18 00/10] migrate ocfs2 DIO from buffer_head to iomap To: sashiko-reviews@lists.linux.dev, Andrew Morton , Heming Zhao , Christoph Hellwig Cc: Mark Fasheh , Joel Becker , "ocfs2-devel@lists.linux.dev" , "linux-kernel@vger.kernel.org" References: <20261205143959.704982-1-joseph.qi@linux.alibaba.com> From: Joseph Qi In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 12/5/26 11:17 PM, sashiko-bot@kernel.org wrote: > Sashiko has finished reviewing this 10-patch series: > > - Patches 1-5: no issues found. > - Patch 6 ("ocfs2: rework the direct write context for multi-clu..."): 3 > potential issues (1 Medium, 2 Low) The 1 Medium finding: O(w_clen·M) ip_lock scan in populate_write_desc, deferred performance improving. > - Patch 7 ("ocfs2: switch dio write path from buffer_head to iomap"): 9 > potential issues (4 High, 4 Medium, 1 Low) The 4 High findings: unlocked page truncation race in wr_map_blocks, described in limitation 1. unlocked truncate_inode_pages_range in cleanup_range, also described in limitation 1. iomap_begin checks i_datasync_tid before mapping, seems false postive. stranded OCFS2_DIO_ORPHANED_FL, described in limitation 2. The 4 Medium findings: unaligned/short range in cleanup_clusters, described in limitation 1. order-5 kvcalloc churn / O(N²) scans, described in limitation 3. redundant sync/journal commit on IS_SYNC DIO, pre-existing performance issue. unbounded upfront prefault under EX locks, deferred fix in follow-ups. > - Patch 8 ("ocfs2: keep sub-page overwrites of written blocks on..."): 4 > potential issues (1 High, 2 Medium, 1 Low) The 1 High finding: subpage probe maps blocks without inode lock, seems false postive. The 2 Medium findings: probe uses PAGE_SIZE over s_clustersize, deffered cleanup. probe clamps map.len / over-probes ends, deffered cleanup. > - Patch 9 ("ocfs2: write the dio zeroed head/tail buffers out be..."): 4 > potential issues (1 High, 3 Medium) The 1 High finding: AB-BA deadlock write_zero_folios vs mpage_writepages, seems false postive. The 3 Medium findings: waits on I/O under JBD2 handle and locks, by design. one 1-bvec bio per buffer_head, deffered cleanup. redundant jbd2_inode_add_write per folio, deffered cleanup. > - Patch 10 ("ocfs2: make buffered writes wait for in-flight direc..."): > 2 potential issues (1 Medium, 1 Low) > The 1 Medium finding: per-page ip_unwritten_list scan in write_begin, deffered cleanup. > Detailed reviews have been sent as separate replies to patches 6-10. > In summary, the left high findings are all known limitations. And for some medium findings, we'll fix them in follow-ups. So let's get this series into linux-next for testing. And I'd like this is a candidate for the upcoming 7.5-rc1. Thanks, Joseph