Files
twx-linux/fs
Darrick J. Wong 0185496a11 xfs: remove kmem_zalloc_greedy
[ Upstream commit 08b005f133 ]

The sole remaining caller of kmem_zalloc_greedy is bulkstat, which uses
it to grab 1-4 pages for staging of inobt records.  The infinite loop in
the greedy allocation function is causing hangs[1] in generic/269, so
just get rid of the greedy allocator in favor of kmem_zalloc_large.
This makes bulkstat somewhat more likely to ENOMEM if there's really no
pages to spare, but eliminates a source of hangs.

[1] http://lkml.kernel.org/r/20170301044634.rgidgdqqiiwsmfpj%40XZHOUW.usersys.redhat.com

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-08 10:14:20 +02:00
..
2017-05-14 13:32:54 +02:00
…
…
…
…
2017-09-07 08:34:09 +02:00
…
2017-08-06 19:19:42 -07:00
…
…
2017-06-14 13:16:24 +02:00
2017-06-14 13:16:24 +02:00
…
2017-08-06 19:19:42 -07:00
…
…
2016-11-10 16:36:34 +01:00
…
…
2017-06-14 13:16:24 +02:00
…
2017-10-08 10:14:20 +02:00
2016-10-07 15:23:47 +02:00
2017-06-14 13:16:24 +02:00
…
…
2017-08-06 19:19:42 -07:00
2017-06-14 13:16:24 +02:00
…
2017-07-15 11:57:44 +02:00
…
…
…
…
…
2016-08-10 11:49:27 +02:00
…
…
2017-06-14 13:16:24 +02:00
2017-08-06 19:19:42 -07:00
…
…
…
…
2017-06-14 13:16:24 +02:00
…
…