X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=inline;f=lustre%2Flov%2Flov_offset.c;h=0c9d6683183e2ff91760632a24ca8089017d1cf6;hb=225e7b8c70fb68bc3aa3a6d88c5e9bda322c9cc9;hp=6ed52e26cbd88dd21872e38e3f0647a5afc216fb;hpb=e33e3da58972a811e6eafc479f95f6df2baf4b9b;p=fs%2Flustre-release.git diff --git a/lustre/lov/lov_offset.c b/lustre/lov/lov_offset.c index 6ed52e2..0c9d668 100644 --- a/lustre/lov/lov_offset.c +++ b/lustre/lov/lov_offset.c @@ -237,6 +237,8 @@ loff_t lov_size_to_stripe(struct lov_stripe_md *lsm, int index, u64 file_size, * given an extent in an lov and a stripe, calculate the extent of the stripe * that is contained within the lov extent. this returns true if the given * stripe does intersect with the lov extent. + * + * Closed interval [@obd_start, @obd_end] will be returned. */ int lov_stripe_intersects(struct lov_stripe_md *lsm, int index, int stripeno, struct lu_extent *ext, u64 *obd_start, u64 *obd_end)