Closed GoogleCodeExporter closed 9 years ago
--- compcache.c.orig 2009-01-28 12:14:22.000000000 -0600
+++ compcache.c 2009-01-28 12:14:56.000000000 -0600
@@ -452,7 +452,9 @@ static int __init compcache_init(void)
blk_queue_make_request(compcache.disk->queue, compcache_make_request);
#ifdef SWAP_DISCARD_SUPPORTED
+#ifdef QUEUE_FLAG_NONROT
queue_flag_set_unlocked(QUEUE_FLAG_NONROT, compcache.disk->queue);
+#endif
blk_queue_set_discard(compcache.disk->queue,
compcache_prepare_discard);
#endif
Original comment by mwsea...@gmail.com
on 28 Jan 2009 at 6:14
Fixed in r276. Thanks for pointing this out!
Nitin
Original comment by nitingupta910@gmail.com
on 28 Jan 2009 at 6:23
Original issue reported on code.google.com by
webmaste...@gtempaccount.com
on 28 Jan 2009 at 3:02