On Thu, Mar 14, 2024 at 10:35:47PM +0800, Binbin Wu <binbin.wu@xxxxxxxxxxxxxxx> wrote: > > > On 3/14/2024 5:17 PM, Binbin Wu wrote: > > > > > > On 2/26/2024 4:25 PM, isaku.yamahata@xxxxxxxxx wrote: > > > From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx> > > > > > > To read meta data in series, use table. > > > Instead of metadata_read(fid0, &data0); metadata_read(...); ... > > > table = { {fid0, &data0}, ...}; metadata-read(tables). > > > TODO: Once the TDX host code introduces its framework to read TDX > > > metadata, > > > drop this patch and convert the code that uses this. > > > > Do you mean the patch 1-5 included in this patch set. > > I think the patch 1-5 of this patch set is doing this thing, right? > > > > Since they are already there, I think you can use them directly in this > > patch set instead of introducing these temp code? > I may have some mis-understanding, but I think the TODO has been done, > right? I meant the following patch series. https://lore.kernel.org/kvm/cover.1709288433.git.kai.huang@xxxxxxxxx/ If (the future version of) the patch series doesn't provide a way to read one metadata with size, we need to keep this patch. -- Isaku Yamahata <isaku.yamahata@xxxxxxxxx>