Re: [RFC PATCH 1/5] block, ioprio: include caching advice via ionice

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

 



"Jason B. Akers" <jason.b.akers@xxxxxxxxx> writes:

> From: Dan Williams <dan.j.williams@xxxxxxxxx>
>
> Steal one unused bit from the priority class and two bits from the
> priority data, to implement a 3 bit cache-advice field.  Similar to the
> page cache advice from fadvise() these hints are meant to be consumed
> by hybrid drives.  Solid State Hyrbid-Drives, as defined by the SATA-IO
> Specification, implement up to a 4-bit cache priority that can be
> specified along with a FPDMA command.

ionice is about setting an I/O scheduling class for a *process*.  So,
unless I've missed something, this does not seem like the right
interface for passing I/O hints.

You mention fadvise hints, which sounds like a good fit (and madvise
would be equally interesting), but I don't see where you've wired them
up in this patch set.  Did I miss it?

Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux