Re: stripe definitions

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

 



On 02/22/2011 12:05 PM, Jim Rees wrote:
> There's an inconsistency in rfc5663 that had me a bit confused:
> 
>    /// struct pnfs_block_stripe_volume_info4 {
>    ///     length4  bsv_stripe_unit;      /* size of stripe in bytes */
> 
> The comment "size of stripe in bytes" fits the definition of "stripe width"
> from rfc5661 section 13.2, but that's not what's meant here.  The field
> name, "stripe_unit", is correct.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

You are right stripe_unit is the the bytes to write to a single
device before advancing to the next device. The comment is wrong
the "size of stripe in bytes" is stripe_unit * num_of_devices.

The same name used in the OSD and files layout and has the same
meaning.

Cheers
Boaz 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux