[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y2IuhG8nBJj0F1fd@infradead.org>
Date: Wed, 2 Nov 2022 01:47:00 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Jiaming Li <lijiaming3@...omi.corp-partner.google.com>
Cc: alim.akhtar@...sung.com, avri.altman@....com, bvanassche@....org,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
lijiaming3 <lijiaming3@...omi.com>
Subject: Re: [RESEND PATCH 0/4] Implement File-Based optimization
functionality
On Wed, Nov 02, 2022 at 01:30:54PM +0800, Jiaming Li wrote:
> 1) The host let the device know of lba range(s) of interest. Those
> ranges are typically associated with a specific file. One can
> obtain it from the iNode of the file and some offset calculations.
This is completely and utter madness. Files are a logic concept, that
is non-unique (reflinks, snapshot) and can change at any time
(defragmentation, GC, dedup). Whoever came up with this scheme is on
crack and the it has no business being in the Linux kernel
NAK.
Powered by blists - more mailing lists