Re: [RFC] Proposal: Reserve Space for Allocated Blocks

2022-11-02 Thread Nandakumar Vadivelu
+ Sumit Agrawal (He is also working on the design for Reserve Space for Allocated Blocks) > On 25-Oct-2022, at 9:18 AM, Kaijie Chen wrote: > > Looking into the AllocateBlock interface, it assumes all blocks allocated > are in the same size. > >List allocateBlock(long size, int numBlocks, >

Re: [RFC] Proposal: Reserve Space for Allocated Blocks

2022-11-02 Thread Sumit Agrawal
Hi Devs, I have another approach without have much impact to system keeping some restrictions as usages and minimize the impact. I have attached the proposal, please have a look. Regards Sumit On Wed, Nov 2, 2022 at 3:49 PM Nandakumar Vadivelu wrote: > + Sumit Agrawal > (He is also working on

Re: [RFC] Proposal: Reserve Space for Allocated Blocks

2022-11-02 Thread Kaijie Chen
Hi Sumit, Thank you for sharing your ideas. The block expiry time list sounds appealing. I have a few questions here: > CloseBlockNotification ICR handling at SCM: > 1) Check for containerID and get the matching entry from blockExpiryTimeList > 2) Remove the block entry from blockExpiryTimeList