On 2019-10-20 16:42, Damien Le Moal wrote: > +/* > + * Convert a logical block number to a 512B sector number. > + */ > +static inline sector_t nvme_block_sect(struct nvme_ns *ns, u64 lba) > +{ > + return lba << (ns->lba_shift - SECTOR_SHIFT); > +} How about renaming this function into nvme_lba_to_sect()? Thanks, Bart.