ATA-Raid 1 one patch
Benjamin Close
Benjamin.Close at clearchain.com
Wed Aug 3 13:25:23 GMT 2005
Hi All,
Here's just a little cleanup I found whilst looking into
ataenclosure support:
--- /home/benjsc/work/freebsd/src/sys/dev/ata/ata-raid.c Mon Jul
18 17:01:40 2005
+++ ata-raid.c Wed Aug 3 22:51:58 2005
@@ -3113,7 +3113,6 @@
{
struct ata_device *atadev = device_get_softc(request->dev);
- request->transfersize = min(request->bytecount, atadev->max_iosize);
request->transfersize = DEV_BSIZE;
if (request->flags & ATA_R_READ) {
if (atadev->mode >= ATA_DMA) {
Cheers,
Benjamin
More information about the freebsd-current
mailing list