Question about GFP_KERNEL argument in radix_tree_preload

Sanidhya Kashyap sanidhya.gatech at gmail.com
Sun Mar 22 22:49:34 CDT 2015


Hello David,

We have been doing some analysis on file systems and have a question
regarding the GFP_KERNEL flag used in radix_tree_preload in
xfs_mru_cache_insert.

We think that this should be GFP_NOFS as it is related to the block
allocation and other file systems(eg btrfs,ext2) are also using
GFP_NOFS for the same.

It would be great if you can let us know your reason for using that
flag and which one is the correct option?

Thanks,
Sanidhya



More information about the xfs mailing list