Re: [PATCH 7/7] xfs_scrub: tune fstrim minlen parameter based on free space histograms

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

 



On Tue, Jul 02, 2024 at 10:04:22PM -0700, Darrick J. Wong wrote:
> > I know people like to fetishize file access (and to be honest from a
> > shell it is really nice), but from a C program would you rather do
> > one ioctl to find a sysfs base path, then do string manipulation to
> > find the actual attribute, then open + read + close it, or do a single
> > ioctl and read a bunch of values from a struct?
> 
> Single ioctl and read from a struct.
> 
> Or single ioctl and read a bunch of json (LOL)
> 
> I wish the BLK* ioctls had kept pace with the spread of queue limits.

Let me propose a new BLKLIMITS ioctl, and then we'll work from there?





[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