Re: [PATCH 0/5] block/scsi/lio support for COMPARE_AND_WRITE

2014-10-18 Thread Bart Van Assche
On 10/16/14 07:37, micha...@cs.wisc.edu wrote: The following patches implement the SCSI command COMPARE_AND_WRITE as a new bio/request type REQ_CMP_AND_WRITE. COMPARE_AND_WRITE is defined in the SCSI SBC (SCSI block command) specs as: The COMPARE AND WRITE command requests that the device

Re: The Async messenger benchmark with latest master

2014-10-18 Thread Alexandre DERUMIER
Hi Somnath, Results seem promising indeed :) Can you share your ceph.conf ? - Mail original - De: Somnath Roy somnath@sandisk.com À: ceph-devel@vger.kernel.org Envoyé: Vendredi 17 Octobre 2014 22:37:55 Objet: The Async messenger benchmark with latest master Hi Sage/Haomai,

Re: [PATCH 2/5] block: add function to issue compare and write

2014-10-18 Thread Christoph Hellwig
On Fri, Oct 17, 2014 at 07:38:37PM -0400, Martin K. Petersen wrote: The problem with this is that, as it stands, a bio has no type. And it would suck if we couldn't keep bio rw and request flags in sync. I wonder if it would make more sense to move the remaining rq types to cmd_flags after

Re: [PATCH 0/5] block/scsi/lio support for COMPARE_AND_WRITE

2014-10-18 Thread Mike Christie
On 10/18/2014 03:11 AM, Bart Van Assche wrote: On 10/16/14 07:37, micha...@cs.wisc.edu wrote: The following patches implement the SCSI command COMPARE_AND_WRITE as a new bio/request type REQ_CMP_AND_WRITE. COMPARE_AND_WRITE is defined in the SCSI SBC (SCSI block command) specs as: The

Re: The Async messenger benchmark with latest master

2014-10-18 Thread Haomai Wang
Thanks Somnath! I have another simple performance test for async messenger: For 4k object read, master branch used 4.46s to complete tests, async Messenger used 3.14s For 4k object write, master branch used 10.6s to complete, async Messenger used 6.6s!! Detailf results see below, 4k object read