lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 20 Sep 2013 15:27:25 +0530 From: Prashant Shah <pshah.me@...il.com> To: linux-ext4@...r.kernel.org Subject: Max size of data in a bio Hi, What is the maximum size of the data that can be read/written in a single bio ? I could locate two possible locations where I can calculate that : 1. #define BIO_MAX_PAGES 256 #define BIO_MAX_SIZE (BIO_MAX_PAGES << PAGE_CACHE_SHIFT) #define BIO_MAX_SECTORS (BIO_MAX_SIZE >> 9) Max = 1048576 2. #define UIO_MAXIOV 1024 Max = 4194304 Is there any other way that the bio could have been created that is reading/writing data in a larger size than any of the above ? Regards. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists