<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>ok for me</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Denis V. Lunev <den@virtuozzo.com><br>
<b>Sent:</b> Sunday, October 15, 2023 10:08:40 PM<br>
<b>To:</b> Alexey Kuznetsov; Devel; khorenko@virtuozzo.com; Andrey Zaitsev; Kui Liu<br>
<b>Subject:</b> Re: fuse: call proper fiemap_prep as it is required by new kernel api</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 10/13/23 20:35, Alexey Kuznetsov wrote:<br>
> Otherwise we consider locations with dirty page cache as holes.<br>
><br>
> Affects: #VSTOR-76073, #PSBM-151414, #PSBM-151424, #PSBM-151464<br>
><br>
> Signed-off-by: Alexey Kuznetsov <kuznet@acronis.com><br>
> ---<br>
> fs/fuse/file.c | 4 ++++<br>
> 1 file changed, 4 insertions(+)<br>
><br>
> diff --git a/fs/fuse/file.c b/fs/fuse/file.c<br>
> index 5e23bd5..c685e01 100644<br>
> --- a/fs/fuse/file.c<br>
> +++ b/fs/fuse/file.c<br>
> @@ -3711,6 +3711,10 @@ int fuse_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,<br>
> <br>
> inode_lock(inode);<br>
> <br>
> + err = fiemap_prep(inode, fieinfo, start, &len, FIEMAP_FLAG_SYNC);<br>
> + if (err)<br>
> + goto out;<br>
> +<br>
> fuse_sync_writes(inode);<br>
> fuse_read_dio_wait(fi);<br>
> <br>
Can we get acknowledgement for this patch in order to<br>
start merge/build ASAP?<br>
<br>
Thanks you in advance,<br>
Den<br>
</div>
</span></font>
</body>
</html>