Re: why md request buffers will not across devices

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

 



On Wednesday January 18, raidwang@xxxxxxxxx wrote:
> hi,
> 	I have a silly question. Why md request buffers will not
> across devices? That means Why a bh will only locate in a single
> storage device? I guess maybe file system has aligned the bh? Who
> can tell me the exact reasons? Thanks a lot! 
> 

If you are talking 'bh' then you are talking '2.4'.
In 2.4. all requests match the 'blocksize' of the device (typically 1K
or 4K) and are aligned to that size.  As the chunksize is always a
multiple of the block size a block will never cross a chunk boundary
and so never cross a device boundary.

2.6 is quite different and md sometimes needs to split a 'bio' request
to feed part to one device and part to another.

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux