Re: [patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Waychison <mikew@...>
Cc: linux-fsdevel <linux-fsdevel@...>, Linux Kernel <linux-kernel@...>
Date: Monday, October 29, 2007 - 3:08 pm

Hi!


I believe it is to prevent users from intentionally creating extremely
fragmented files...

You can read 60MB in a second, but fragmented 60MB file could take
10msec * 60MB/4KB = 150 seconds. That's factor 150 slowdown...

...but I agree that SYS_RAWIO may be wrong capability to cover this.

							Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP, Mike Waychison, (Thu Oct 25, 7:06 pm)
Re: [patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP, Pavel Machek, (Mon Oct 29, 3:08 pm)
Re: [patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP, Mike Waychison, (Thu Oct 25, 8:35 pm)
Re: [patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP, Jason Uhlenkott, (Fri Oct 26, 5:55 pm)
Re: [patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP, Mike Waychison, (Fri Oct 26, 5:59 pm)
Re: [patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP, Jason Uhlenkott, (Fri Oct 26, 6:40 pm)
Re: [patch 1/1] Drop CAP_SYS_RAWIO requirement for FIBMAP, Mike Waychison, (Fri Oct 26, 6:53 pm)