Re: [PATCH v4 1/6] fs: add write-stream management ioctls
Christoph Hellwig <[email protected]>
| Newsgroups | org.kernel.vger.linux-xfs,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <[email protected]> |
Beside the issue pointed out in the comment there is another one that came to my mind: Right now there is no control what application can use the write streams. Tis means a user could monopolize them, negatively affecting others, even more so when hardware write stream support is added later. I see two ways out of this: 1) require privileges to use write streams 2) have a rlimit for the numebr of streams per user 2) is by far nicer, but 1) might be easier to get things going to then move to 2).