Re: [PATCH 1 of 3] block: Export I/O hints for block devices and partitions | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Martin K. Petersen wrote: > + sector_t phys_offset; > + unsigned int optimal_io_block; > + unsigned int optimal_io_length; Wouldn't off_t or sector_t be more appropriate? I can (vaguely) imagine devices with stripe sizes >= 2GiB in the not too distant future. Especially clusters with high speed interconnect and RAM-backed devices. There's no harm in an application doing smaller I/O. It should always choose appropriate values itself anyway. But it seems cleaner to report the numbers derived from actual drive topology. -- Jamie -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Kernel Newbies] [Share Photos] [IDE] [Security] [Git] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux ATA RAID] [Samba] [Video 4 Linux] [Device Mapper] [Linux Resources]
![]() |