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

Chen Liang commented on HDFS-11127:
-----------------------------------

1. The volumeSize field of {{VolumeInfoProto}} is exactly what you mentioned: 
the declared volume size. But {{VolumeInfoProto}} also has a {{usage}} field 
which is left for actual used size.

2. Actually that's what I'm trying to do here. Make it optional in {{optional 
uint32 blockSize = 4;}}, such that if user has a block size specified, CBlock 
server will use it, if this field is missing (user not specify block size), 
CBlock server will use 4KB.

> 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