[lustre-discuss] selecting osts with llapi_layout_ost_index_set()

John Bauer bauerj at iodoctors.com
Wed May 20 22:41:52 UTC 2026


I take it something changed between 2.14.0 and 2.15.5 concerning 
selectable osts when using llapi_layout_ost_index_set().

I am not calling llapi_layout_pool_name_set() as I generally want to be 
able to select OSTs from the entire set of OSTs available in the file 
system.  Generally, most Lustre file systems do not have a pool for all 
OSTs. Without specifying a pool, it would seem that 2.14.0 allows me to 
only select OSTs that are in the pool that the containing directory is 
using.  But 2.15.5 allows me to select OSTs from the entire set.  If my 
OST selections are all in the parent's pool, the file inherits the 
directory's pool name.  If my OST selections are not all in the parent's 
pool, the selection is still valid but layout for the file indicates no 
pool name is set.  2.15.5 works just great.

For 2.14.0 is there a way to specify no pool for a file, and not have it 
default to using the containing directory's pool, but rather have as 
valid the entire set of OSTs in the file system?

I realize this is going back quite a ways, but this is what I am stuck with.

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss_lists.lustre.org/attachments/20260520/15f289f8/attachment.html>


More information about the lustre-discuss mailing list