Re: [RFC 6/8] block/bdev: lift block size restrictions and use common definition

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

 



On 13/11/2024 09:47, Luis Chamberlain wrote:
  #include <linux/uuid.h>
  #include <linux/xarray.h>
  #include <linux/file.h>
+#include <linux/pagemap.h>
struct module;
  struct request_queue;
@@ -268,10 +269,13 @@ static inline dev_t disk_devt(struct gendisk *disk)
  	return MKDEV(disk->major, disk->first_minor);
  }
+/* We should strive for 1 << (PAGE_SHIFT + MAX_PAGECACHE_ORDER) */

I fell that this comment can be reworked.

I think that what we want to say is that hard limit is 1 << (PAGE_SHIFT + MAX_PAGECACHE_ORDER), but we set at sensible size of 64K.

+#define BLK_MAX_BLOCK_SIZE      (SZ_64K)
+





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux