Thread (3 messages) flat view 3 messages, 3 authors, 2017-06-16

Re: [PATCH 05/12] fs: add fcntl() interface for setting/getting write life time hints

From: Christoph Hellwig <hch@infradead.org>
Date: 2017-06-16 17:59:21
Also in: linux-fsdevel

On Fri, Jun 16, 2017 at 12:44:09PM -0400, Martin K. Petersen wrote:
It seems like an overkill to have different fcntls for different
hints. And since we are expecting more, maybe these should be
F_{GET,SET}_HINT and then the individual flags can be
WRITE_LIFETIME_FOOBAR?
That's what I was trying to explain earlier - have
F_{GET,SET}_HINT ake a u16 (or maybe even a u32 or u64 with the
remainder reserved) and then take 3 bits for the write lifetime.
Which btw means we'd have another 3 possible values left if
we encode is as a value instead of as bits.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help