Max size of data in a bio

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

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux