* stripe definitions
@ 2011-02-22 20:05 Jim Rees
2011-02-23 4:46 ` Boaz Harrosh
0 siblings, 1 reply; 2+ messages in thread
From: Jim Rees @ 2011-02-22 20:05 UTC (permalink / raw)
To: linux-nfs; +Cc: peter honeyman
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: stripe definitions
2011-02-22 20:05 stripe definitions Jim Rees
@ 2011-02-23 4:46 ` Boaz Harrosh
0 siblings, 0 replies; 2+ messages in thread
From: Boaz Harrosh @ 2011-02-23 4:46 UTC (permalink / raw)
To: Jim Rees; +Cc: linux-nfs, peter honeyman
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@vger.kernel.org
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-23 4:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22 20:05 stripe definitions Jim Rees
2011-02-23 4:46 ` Boaz Harrosh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).