commit | edca4a380584a65a16839bdee33ec82244f0f88e | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Tue Aug 03 12:54:51 2010 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sat Aug 07 18:53:04 2010 +0200 |
tree | f0e24d4712cf98eb5876157ae1f49bebc6d701ef | |
parent | f6c4c8e19a087dae7dc651ccbd1ff8b843eedee2 [diff] |
block: disallow FS recursion from sb_issue_discard allocation Filesystems can call sb_issue_discard on a memory reclaim path (e.g. ext4 calls sb_issue_discard during journal commit). Use GFP_NOFS in sb_issue_discard to avoid recursing back into the FS. Reported-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>