RE: Regarding op_t, local_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's a stack allocation there , no 'new' overhead , but, will save one list push_back. So, gain could be negligible.
But, since I am working on a pull request to delete these transaction object from FileStore  worker thread , I need to introduce heap allocation on that path as well , reducing one transaction would help there.

Thanks & Regards
Somnath

-----Original Message-----
From: 池信泽 [mailto:xmdxcxz@xxxxxxxxx] 
Sent: Wednesday, November 18, 2015 6:00 PM
To: Somnath Roy
Cc: ceph-devel@xxxxxxxxxxxxxxx
Subject: Re: Regarding op_t, local_t

Good catch. I think it does make sense.

2015-11-19 9:54 GMT+08:00 Somnath Roy <Somnath.Roy@xxxxxxxxxxx>:
> Hi Sage,
> I saw we are now having single transaction in submit_transaction. But, 
> in the replication path we are still having two transaction, can't we merge it to one there ?
>
> Thanks & Regards
> Somnath
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" 
> in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo 
> info at  http://vger.kernel.org/majordomo-info.html



--
Regards,
xinze
��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux