On Fri, Oct 9, 2020 at 12:18 PM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > > On Fri, Oct 9, 2020 at 9:19 AM Ritesh Harjani <riteshh@xxxxxxxxxxxxx> wrote: > > > > > > > > On 10/9/20 12:16 PM, Sedat Dilek wrote: > > > On Thu, Oct 8, 2020 at 5:56 PM Ritesh Harjani <riteshh@xxxxxxxxxxxxx> wrote: > > >> > > >> left shifting m_lblk by blkbits was causing value overflow and hence > > >> it was not able to convert unwritten to written extent. > > >> So, make sure we typecast it to loff_t before do left shift operation. > > >> Also in func ext4_convert_unwritten_io_end_vec(), make sure to initialize > > >> ret variable to avoid accidentally returning an uninitialized ret. > > >> > > >> This patch fixes the issue reported in ext4 for bs < ps with > > >> dioread_nolock mount option. > > >> > > >> Fixes: c8cc88163f40df39e50c ("ext4: Add support for blocksize < pagesize in dioread_nolock") > > > > > > Fixes: tag should be 12 digits (see [1]). > > > ( Seen while walking through ext-dev Git commits. ) > > > > > > Thanks Sedat, I guess it should be minimum 12 chars [1] > > > > [1]: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst#n177 > > > > OK. > > In my ~/.gitconfig: > > [core] > abbrev = 12 > > # Check for 'Fixes:' tag used in the Linux-kernel development process > (Thanks Kalle Valo). > # Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst > # Usage: $ git log --format=fixes | head -5 > [pretty] > fixes = Fixes: %h (\"%s\") > > Hope this is useful for others. > Changed to... Link: https://www.kernel.org/doc/html/latest/process/submitting-patches.html - Sedat -