readahead: use 20K instead of 16K as temporary request nr bump

This commit is contained in:
Lennart Poettering 2012-09-13 00:06:30 +02:00
parent 9f26fa2217
commit a8b10efaec
2 changed files with 7 additions and 1 deletions

2
TODO
View File

@ -53,6 +53,8 @@ Bugfixes:
Features:
+ refuse automount triggers when automount is queued for stop, much like we refuse socket triggers when sockets are queued for stop
* perfomance messages for selinux are gone from debug log?
* http://lists.freedesktop.org/archives/systemd-devel/2012-September/006502.html

View File

@ -214,7 +214,11 @@ finish:
return m;
}
#define BUMP_REQUEST_NR (16*1024)
/* We use 20K instead of the more human digestable 16K here. Why?
Simply so that it is more unlikely that users end up picking this
value too so that we can recognize better whether the user changed
the value while we had it temporarily bumped. */
#define BUMP_REQUEST_NR (20*1024)
int block_bump_request_nr(const char *p) {
struct stat st;