[patch 0/2][RFC] vfs: artefact(?) in rw_verify_area

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone.

rw_verify_area() contains a limitation, which means inability
to write more then INT_MAX bytes atomically. This tends
to be a disadvantage since INT_MAX doesn't look like a huge
value nowadays. Moreover, this restriction looks too artificial.

I have increased the limit up to rounded down SSIZE_MAX
(patch 2) and got an overflow in the direct-io subsystem.
However, after fixing the overflow (patch 1), ext3,4 work
fine for me so far.

Any ideas, if there are other subsystems that expose the
INT_MAX limitation?

Thanks in advance,

--
Edward O. Shishkin
Principal Software Engineer
Red Hat Czech

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux