[ 
https://issues.apache.org/jira/browse/HDFS-11127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15655163#comment-15655163
 ] 

Anu Engineer commented on HDFS-11127:
-------------------------------------

bq.  One thing with VolumeInfoProto is that it contains volume usage, and to 
get this the server will need to request this information from underlying 
storage layer (SCM in this case), which takes time. Another thing is that a 
listing request may potentially return a very huge number of volumes. So I want 
restrict this to a minimum set of information to avoid response message being 
too huge.
That is interesting, I was imagining that this was reporting the declared size 
that we got from the {{CreateVolumeRequestProto}}. But you are saying that it 
is going to report the actual used size on the disk. But then how do I discover 
the declared size of my disk ? I was imagining that the list operation or 
VolumeInfo would have the size of my volume.
bq. That's a good point. 4KB block would have much better performance in our 
case compared to 1K or 2K (because of less number of blocks)
if you make it required with 4 KB as default, if user specifies nothing server 
will be able to read 4KB as value and if user want to specify something like 
8KB as the block size they are still free to do so.




> Block Storage : add block storage service protocol
> --------------------------------------------------
>
>                 Key: HDFS-11127
>                 URL: https://issues.apache.org/jira/browse/HDFS-11127
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>         Attachments: HDFS-11127-HDFS-7240.001.patch
>
>
> This JIRA adds block service protocol. This protocol is expose to client for 
> volume operations including create, delete, info and list. Note that this 
> protocol has nothing to do with actual data read/write on a particular volume.
> (Also note that the term "cblock" is the current term used to refer to the 
> block storage system.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to