You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux meriadoc 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686
i686 i386 GNU/Linux
CC [M] /home/neko/compcache-0.5.1/compcache.o
/home/neko/compcache-0.5.1/compcache.c: In function ‘compcache_init’:
/home/neko/compcache-0.5.1/compcache.c:455: error: ‘QUEUE_FLAG_NONROT’
undeclared (first use in this function)
/home/neko/compcache-0.5.1/compcache.c:455: error: (Each undeclared
identifier is reported only once
/home/neko/compcache-0.5.1/compcache.c:455: error: for each function it
appears in.)
make[4]: *** [/home/neko/compcache-0.5.1/compcache.o] Error 1
make[3]: *** [_module_/home/neko/compcache-0.5.1] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/default'
make: *** [all] Error 2
In compcache.c line 455 QUEUE_FLAG_NONROT is used to inform the block
subsystem that there is no seek cost on the virtual swap disk, however
while the functions to support swap discard are present in the kernel, this
flag came in just after SuSE finalized their kernel patches for this
release, so isn't present.
The use of QUEUE_FLAG_NONROT should be covered by a
#ifdef QUEUE_FLAG_NONROT
queue_flag_set_unlocked(QUEUE_FLAG_NONROT, compcache.disk->queue);
#endif
In order that swap discard support can be compiled and used. I found
absolutely no problems in adding this little fix, compcache works great :)
Original issue reported on code.google.com by webmaste...@gtempaccount.com on 28 Jan 2009 at 3:02
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
webmaste...@gtempaccount.com
on 28 Jan 2009 at 3:02The text was updated successfully, but these errors were encountered: