[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z5h0Ic3igEvI11Cz@infradead.org>
Date: Mon, 27 Jan 2025 22:07:29 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Konstantin Komarov <almaz.alexandrovich@...agon-software.com>
Cc: ntfs3@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, Jiaji Qin <jjtan24@...udan.edu.cn>,
Kun Hu <huk23@...udan.edu.cn>
Subject: Re: [PATCH] fs/ntfs3: Update inode->i_mapping->a_ops on compression
state change
On Thu, Jan 23, 2025 at 04:53:35PM +0300, Konstantin Komarov wrote:
> Update inode->i_mapping->a_ops when the compression state changes to
> ensure correct address space operations.
> Clear ATTR_FLAG_SPARSED/FILE_ATTRIBUTE_SPARSE_FILE when enabling
> compression to prevent flag conflicts.
How is this synchronized against using the address_space ops?
Most of them can be called without i_rwsem held.
Powered by blists - more mailing lists